Return info about the hosted server. This contains the PoPID of the server,
and opaque routing information that can be used by the relays to send traffic
to your server.
You will need to send this information to your backend, and put it in tickets,
so that the relays will know how to forward traffic from
clients to your server. See SteamDatagramRelayAuthTicket for more info.
Also, note that the routing information is contained in SteamDatagramGameCoordinatorServerLogin,
so if possible, it's preferred to use GetGameCoordinatorServerLogin to send this info
to your game coordinator service, and also login securely at the same time.
On a successful exit, k_EResultOK is returned
Unsuccessful exit:
- Something other than k_EResultOK is returned.
- k_EResultInvalidState: We are not configured to listen for SDR (SDR_LISTEN_SOCKET
is not set.)
- k_EResultPending: we do not (yet) have the authentication information needed.
(See GetAuthenticationStatus.) If you use environment variables to pre-fetch
the network config, this data should always be available immediately.
- A non-localized diagnostic debug message will be placed in m_data that describes
the cause of the failure.
NOTE: The returned blob is not encrypted. Send it to your backend, but don't
directly share it with clients.
Return info about the hosted server. This contains the PoPID of the server, and opaque routing information that can be used by the relays to send traffic to your server.
You will need to send this information to your backend, and put it in tickets, so that the relays will know how to forward traffic from clients to your server. See SteamDatagramRelayAuthTicket for more info.
Also, note that the routing information is contained in SteamDatagramGameCoordinatorServerLogin, so if possible, it's preferred to use GetGameCoordinatorServerLogin to send this info to your game coordinator service, and also login securely at the same time.
On a successful exit, k_EResultOK is returned
Unsuccessful exit: - Something other than k_EResultOK is returned. - k_EResultInvalidState: We are not configured to listen for SDR (SDR_LISTEN_SOCKET is not set.) - k_EResultPending: we do not (yet) have the authentication information needed. (See GetAuthenticationStatus.) If you use environment variables to pre-fetch the network config, this data should always be available immediately. - A non-localized diagnostic debug message will be placed in m_data that describes the cause of the failure.
NOTE: The returned blob is not encrypted. Send it to your backend, but don't directly share it with clients.