ISteamNetworkingSockets.CreateHostedDedicatedServerListenSocket

Create a listen socket on the specified virtual port. The physical UDP port to use will be determined by the SDR_LISTEN_PORT environment variable. If a UDP port is not configured, this call will fail.

This call MUST be made through the SteamGameServerNetworkingSockets() interface.

This function should be used when you are using the ticket generator library to issue your own tickets. Clients connecting to the server on this virtual port will need a ticket, and they must connect using ConnectToHostedDedicatedServer.

If you need to set any initial config options, pass them here. See SteamNetworkingConfigValue_t for more about why this is preferable to setting the options "immediately" after creation.

class ISteamNetworkingSockets
CreateHostedDedicatedServerListenSocket

Meta