ISteamNetworkingSockets.GetHostedDedicatedServerPort

Returns the value of the SDR_LISTEN_PORT environment variable. This is the UDP server your server will be listening on. This will configured automatically for you in production environments.

In development, you'll need to set it yourself. See https://partner.steamgames.com/doc/api/ISteamNetworkingSockets

for more information on how to configure dev environments.

class ISteamNetworkingSockets
ushort
GetHostedDedicatedServerPort
()

Meta