1
0
forked from 0ad/0ad
0ad/source/network
wraitii 895e4e6aa6 StunClient code cleanup: use enet functions, endianness
Instead of using platform-specific sockets, use enet_socket* functions
(which ends up doing the same).
Clean up some confusing APIs, removing the distinction between finding
the public IP for the host/join.

Fix endianness support & use simpler code.

Refs D364 / 61261d14fc (and some subsequent fixing diffs).

Differential Revision: https://code.wildfiregames.com/D3970
This was SVN commit r25453.
2021-05-17 15:14:10 +00:00
..
scripting StunClient code cleanup: use enet functions, endianness 2021-05-17 15:14:10 +00:00
tests StunClient code cleanup: use enet functions, endianness 2021-05-17 15:14:10 +00:00
fsm.cpp Strip trailing whitespace from network code. 2015-12-21 13:58:32 +00:00
fsm.h Strip trailing whitespace from network code. 2015-12-21 13:58:32 +00:00
NetClient.cpp StunClient code cleanup: use enet functions, endianness 2021-05-17 15:14:10 +00:00
NetClient.h Split off Object-related functions from ScriptInterface 2021-05-13 17:23:52 +00:00
NetClientTurnManager.cpp Remember OOS on a per-client basis. 2021-03-31 15:55:19 +00:00
NetClientTurnManager.h Split TurnManager classes into individual files per class. Patch by echotangoecho, fixes #4095. 2017-01-24 02:04:50 +00:00
NetFileTransfer.cpp Split NetFileTransfer message parsing into one function per case, refs #5212. 2019-09-17 14:18:46 +00:00
NetFileTransfer.h Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
NetHost.cpp Automatically replace %hs/%ls with %s in CLogger format strings. 2015-01-22 20:36:24 +00:00
NetHost.h Hide ip and port from users until they want to join, add optional password 2021-01-20 18:31:39 +00:00
NetMessage.cpp Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
NetMessage.h Fix few typos found with the Debian lintian tool. 2017-10-28 22:34:57 +00:00
NetMessages.h MP: don't enforce game init attributes synchronization in PREGAME. 2021-03-22 10:13:27 +00:00
NetMessageSim.cpp Split off JSON-related function from ScriptInterface, clean up headers. 2021-05-14 10:18:03 +00:00
NetServer.cpp StunClient code cleanup: use enet functions, endianness 2021-05-17 15:14:10 +00:00
NetServer.h StunClient code cleanup: use enet functions, endianness 2021-05-17 15:14:10 +00:00
NetServerTurnManager.cpp Remember OOS on a per-client basis. 2021-03-31 15:55:19 +00:00
NetServerTurnManager.h Remember OOS on a per-client basis. 2021-03-31 15:55:19 +00:00
NetSession.cpp Split off JSON-related function from ScriptInterface, clean up headers. 2021-05-14 10:18:03 +00:00
NetSession.h Netcode: Identify controller client via a secret key 2021-02-27 17:44:59 +00:00
NetStats.cpp Clean up ThreadUtil, use standard C++11 constructs instead of custom ones. 2019-06-06 19:30:48 +00:00
NetStats.h Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
NMTCreator.h Net Server: Verify password in Authenticate 2021-01-23 18:04:36 +00:00
Serialization.h Strip trailing whitespace from network code. 2015-12-21 13:58:32 +00:00
StringConverters.h Provide JSON-compatible string escaping 2011-11-04 01:18:34 +00:00
StunClient.cpp StunClient code cleanup: use enet functions, endianness 2021-05-17 15:14:10 +00:00
StunClient.h StunClient code cleanup: use enet functions, endianness 2021-05-17 15:14:10 +00:00