1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00
vcmi/lib/network
Ivan Savenko 35954dc41b Simple workaround to fix vcmiserver shutdown procedure
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.
2024-05-14 19:40:20 +00:00
..
NetworkConnection.cpp Simple workaround to fix vcmiserver shutdown procedure 2024-05-14 19:40:20 +00:00
NetworkConnection.h Simple workaround to fix vcmiserver shutdown procedure 2024-05-14 19:40:20 +00:00
NetworkDefines.h Finalized new TCP networking API 2024-01-19 23:52:28 +02:00
NetworkHandler.cpp Fix build 2024-05-11 16:18:21 +00:00
NetworkHandler.h Simplified networking API 2024-01-19 23:52:28 +02:00
NetworkInterface.h Simple workaround to fix vcmiserver shutdown procedure 2024-05-14 19:40:20 +00:00
NetworkServer.cpp Fix connection termination handling 2024-05-13 14:09:59 +00:00
NetworkServer.h Better handling of disconnects, code cleanup 2024-02-02 15:32:06 +02:00