I remember some time ago I've read (and experienced myself) that when I'm offline with my laptop (for instance, at train) I couldn't play freeorion as it didn't connect to localhost.
After doing some debugging, I realised that the problem relies on boost libraries (I think the library is called Asio or sthing similar). Googling around, I've arrived to some of webpages explaining the issue:
https://svn.boost.org/trac/boost/ticket/8503
http://thread.gmane.org/gmane.comp.freedesktop.xcb/6973
https://fedoraproject.org/wiki/Networki ... ADDRCONFIG
It seems that dropping that ADDRCONFIG could solve the issue. I've arrived to the following line of code in freeorion which probably prepares the connection and the flags (not sure of that...)
Code: Select all
file network/ClientNetworking.cpp, line 172
tcp::resolver::query query(tcp::v4(), ip_address,
boost::lexical_cast<std::string>(MESSAGE_PORT),
boost::asio::ip::resolver_query_base::address_configured |
boost::asio::ip::resolver_query_base::numeric_service);
Thank you and kind regards.