mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
35954dc41b
At the moment, vcmilobby *requires* async writes in order to handle multiple connections with different speeds and at optimal performance, without hanging if one player is too slow and can't eat all data server sent to him at once. However server (and potentially - client) can not handle this mode and may shutdown either socket or entire asio service too early, before all writes are performed, leading to weird freeze on ending scenario where client would not receive notifications about end of game. |
||
---|---|---|
.. | ||
NetworkConnection.cpp | ||
NetworkConnection.h | ||
NetworkDefines.h | ||
NetworkHandler.cpp | ||
NetworkHandler.h | ||
NetworkInterface.h | ||
NetworkServer.cpp | ||
NetworkServer.h |