]> git.mxchange.org Git - core.git/commitdiff
Cleanup of previous commit.
authorRoland Haeder <roland@mxchange.org>
Mon, 15 Dec 2014 20:32:26 +0000 (21:32 +0100)
committerRoland Haeder <roland@mxchange.org>
Mon, 15 Dec 2014 20:32:26 +0000 (21:32 +0100)
Signed-off-by: Roland Häder <roland@mxchange.org>
inc/classes/main/client/http/class_HttpClient.ph
inc/classes/main/client/http/class_HttpClient.php
inc/classes/main/console/class_ConsoleTools.php

index cc847160bd17560f25ba8f56e9ae29257cd7bf7c..76a311331ebe972fcb09402f26e97d95f5fa0bf1 100644 (file)
@@ -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;
        }
index 32c28419de8cb0cfd9f829ac7f0499d933255451..2eb47eed065ff96b9d2b96ce3a46e746d39e81cc 100644 (file)
@@ -97,7 +97,7 @@ class HttpClient extends BaseClient implements Client {
        }
 
        /**
-        * Sends a raw HTTP request out to given host/port
+        * Sends a raw HTTP request out to given IP/host and port number
         *
         * @param       $method                 Request method (GET, POST, HEAD, CONNECT, ...)
         * @param       $host                   Host to connect to
index b7807d30010a2b5d63c33e27da3c00fa5951832a..5c29a4c0edbf183bde71db0270523f4fe7b6db86 100644 (file)
@@ -253,7 +253,7 @@ class ConsoleTools extends BaseFrameworkSystem {
 
        /**
         * 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
@@ -263,7 +263,7 @@ class ConsoleTools extends BaseFrameworkSystem {
         * 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
         * @throws      InvalidSocketException  If socket initialization wents wrong or if an errors occurs
         * @todo        This should be moved out to an external class, e.g. HttpClient
         * @todo        Make IP, host name, port and script name configurable
@@ -345,7 +345,7 @@ class ConsoleTools extends BaseFrameworkSystem {
                // 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;
        }