X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fclient%2Fhttp%2Fclass_HttpClient.ph;h=76a311331ebe972fcb09402f26e97d95f5fa0bf1;hp=cc847160bd17560f25ba8f56e9ae29257cd7bf7c;hb=38712c68b26646fb182dd5c0fb46befcf4ee91b9;hpb=53e46a945b95d6414af86dcf0d14de200dff15a5 diff --git a/inc/classes/main/client/http/class_HttpClient.ph b/inc/classes/main/client/http/class_HttpClient.ph index cc847160..76a31133 100644 --- a/inc/classes/main/client/http/class_HttpClient.ph +++ b/inc/classes/main/client/http/class_HttpClient.ph @@ -1,7 +1,7 @@ /** * Determines own remote IP address (e.g. can be used to probe if we are - * reachable from outside by determining external IP and then connect to it. + * reachable from outside by determining external address and then connect to it. * This is accomblished by connecting to the IP of www.shipsimu.org which * should default to 188.138.90.169 and requesting /ip.php which does only * return the content of $_SERVER['REMOTE_ADDR']. Of course, this method @@ -11,7 +11,7 @@ * Compare to following link: * http://de.php.net/manual/en/function.socket-create.php#49368 * - * @return $externalAddress The determined external IP address + * @return $externalAddress The determined external address address * @todo Make IP, host name, port and script name configurable */ public static function determineExternalAddress () { @@ -91,6 +91,6 @@ // Debug message /* DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('CONSOLE-TOOLS[' . __METHOD__ . ':' . __LINE__ . ']: Resolved external address: ' . $externalAddress); - // Return determined external IP + // Return determined external address return $externalAddress; }