Implement a few functions in steam networking utils.

This commit is contained in:
Mr_Goldberg 2019-10-09 17:36:36 -04:00
parent 736d1a9090
commit 0a29ed5a9a
No known key found for this signature in database
GPG key ID: 8597D87419DEF278
2 changed files with 33 additions and 2 deletions

View file

@ -1045,6 +1045,7 @@ bool GetHostedDedicatedServerAddress001( SteamDatagramHostedAddress *pRouting )
/// directly share it with clients.
virtual EResult GetHostedDedicatedServerAddress( SteamDatagramHostedAddress *pRouting )
{
PRINT_DEBUG("Steam_Networking_Sockets::GetHostedDedicatedServerAddress %p\n", pRouting);
std::lock_guard<std::recursive_mutex> lock(global_mutex);
pRouting->SetDevAddress(network->getOwnIP(), 27054);
return k_EResultOK;