cd2837a84e
Fix possible memory leak (circular shared_ptr) in networking
2025-04-29 12:11:10 +03: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
5b6bc10131
Code review
2024-07-12 14:54:28 +03:00
9d73b50979
Bind server to a randomly assigned port
2024-07-12 01:06:36 +03:00
93038b791e
Fix connection termination handling
2024-05-13 14:09:59 +00:00
67604e1e01
Reapply "Simple implementation of heartbeat package"
...
This reverts commit ede92c1a9c
.
2024-05-11 16:10:08 +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
f97ffd8e9a
Better handling of disconnects, code cleanup
2024-02-02 15:32:06 +02:00
29c0989849
Use std::byte to manage network data
2024-02-02 02:02:09 +02:00
c5c46a7c9a
Implemented connecting to server via proxy
2024-01-30 21:31:41 +02:00
eaca128c99
Code cleanup
2024-01-26 19:15:57 +02:00
baa73f5433
Code cleanup
2024-01-20 00:26:25 +02:00
80e960bc8e
Finalized new TCP networking API
2024-01-19 23:52:28 +02:00
aa7ecea683
Switch turn timers handling to boost asio timer
2024-01-19 23:49:59 +02:00
c9765a52ff
Do not accept connections into ongoing game
2024-01-19 23:49:59 +02:00
0a1153e1c6
Switch client-server communication to new API
2024-01-19 23:49:59 +02:00
de5227142b
Implemented message receiving / broadcasting
2024-01-19 23:49:59 +02:00
07fb313765
Implemented loading of latest messages on joining chat
2024-01-19 23:49:59 +02:00
dff9cf39c0
Implemented connection handling
2024-01-19 23:49:59 +02:00
c2c43602ea
Initial version of global lobby server available in client
2024-01-19 23:49:59 +02:00