mirror of
https://github.com/ValveSoftware/GameNetworkingSockets.git
synced 2026-05-29 16:20:34 +00:00
ae52d2d0ce
Removed the word "custom" from the namesofinterfacesthatwerealreadyverylong. Added k_ESteamNetworkingConfig_Callback_CreateConnectionSignaling, which is a mechanism for connections that require signaling to be iniated locally. This is used by ISteamnetwrokingSockets::ConnectP2P and connections created using the ISteamNetworkingMessages interface....which has been added. These changes address issue #137 and bring the opensource code more in line with Steamworks version. Delete the define STEAMNETWORKINGSOCKETS_HAS_DEFAULT_P2P_SIGNALING. "Default signaling" is a thing that can exist on any platform, and can only be determined at runtime. Most places that were using this actually should have been checking STEAMNETWORKINGSOCKETS_ENABLE_STEAMNETWORKINGMESSAGES anyway, and those two defines were equivalent in practice. STEAMNETWORKINGSOCKETS_ENABLE_STEAMNETWORKINGMESSAGES will be defined by default. I could add a mechanism to disable it if anybody is relaly concerned about code size. (Also started some refactoring of the P2P listen sockets, to merge them with hosted dedicated server listen sockets. The goal is to enable a way to connected to hosted dedicated servers without tickets. That is a work in progress, and also not relevant to the opensource code.)