1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-03 00:46:55 +02:00
Commit Graph

10 Commits

Author SHA1 Message Date
cd2837a84e Fix possible memory leak (circular shared_ptr) in networking 2025-04-29 12:11:10 +03:00
b1ae36bdff Use boost::asio::post instead of deprecated io_service::post 2025-02-13 21:36:24 +00:00
d9244cf061 Remove network connection from local games
This removes need for TCP network connection in single-player games.

Instead, game will now create internal pseudo-connection that performs
client<->server communication by posting sent messages to client/server
asio::io_service'a.

This should fix gameplay aborting on switching to another app on iOS (and
apparently, on Android in some cases)
2025-02-03 17:24:02 +00:00
dae3569077 Fix build 2024-05-11 16:18:21 +00:00
67604e1e01 Reapply "Simple implementation of heartbeat package"
This reverts commit ede92c1a9c.
2024-05-11 16:10:08 +00:00
16f43254b5 Use async_resolve to avoid crash on resolve error 2024-05-11 13:19:07 +00:00
ede92c1a9c Revert "Simple implementation of heartbeat package"
This reverts commit 5f344e410a.
2024-05-07 08:31:08 +00:00
5f344e410a Simple implementation of heartbeat package 2024-04-30 22:44:31 +03:00
709905b1a0 Simplified networking API 2024-01-19 23:52:28 +02:00
80e960bc8e Finalized new TCP networking API 2024-01-19 23:52:28 +02:00