* Aquires the IP address of this host by reading the /etc/hostname file
* and solving it. It is now stored in configuration
*
- * @return void
+ * @return $ip Aquired IP address
*/
public static function acquireSelfIPAddress () {
// Local IP by default
// Set it in configuration
FrameworkConfiguration::getSelfInstance()->setServerAddress($ip);
+
+ // Return it
+ return $ip;
}
/**