widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #10356
Re: [Merge] lp:~widelands-dev/widelands/net-boost-asio into lp:widelands
Thanks for the explanation and fixing Bunnybot! Good to see that it is working again.
I did a short test with two network interfaces on Linux. With the current code one packet is sent on both interfaces, so the kernel (or so) is already dealing with duplicating them. With the apple-code, two packets with the same contents are sent on both interfaces. So as long as it doesn't make any problems, I would keep the current code.
Removing/Adding the network cable did not change anything but some time later I also got the exception. The problem is/was that the metaserver-connection gets disconnected, so the client does a DNS lookup to get its IP. When that fails (i.e. currently no network) an exception is thrown. In the handler of this exception the metaserver is disconnected which crashes since we aren't connected anyway (and so have no socket). I pushed a simple fix.
But... is it my system or is trunk (and this branch) currently broken? When ingame the view is permanently scrolling down, as if the arrow-down key is pressed.
--
https://code.launchpad.net/~widelands-dev/widelands/net-boost-asio/+merge/324364
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/net-boost-asio.
References