Fixed Sockets created using CreateRelaySocket not recieving messages

This commit is contained in:
Garry Newman 2020-02-27 13:45:42 +00:00
parent 09256aa4a3
commit 66b221984f

View File

@ -132,6 +132,7 @@ private static void ConnectionStatusChanged( SteamNetConnectionStatusChangedCall
var options = Array.Empty<NetKeyValue>(); var options = Array.Empty<NetKeyValue>();
t.Socket = Internal.CreateListenSocketP2P( virtualport, options.Length, options ); t.Socket = Internal.CreateListenSocketP2P( virtualport, options.Length, options );
SetSocketInterface( t.Socket.Id, t ); SetSocketInterface( t.Socket.Id, t );
t.Initialize();
return t; return t;
} }