mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-23 12:28:07 +01:00
Added missing connection callback when accepting networking socket connection.
This commit is contained in:
parent
4ab508f7ef
commit
83fe490471
1 changed files with 1 additions and 0 deletions
|
@ -406,6 +406,7 @@ EResult AcceptConnection( HSteamNetConnection hConn )
|
|||
if (connect_socket->second.status != CONNECT_SOCKET_NOT_ACCEPTED) return k_EResultInvalidState;
|
||||
connect_socket->second.status = CONNECT_SOCKET_CONNECTED;
|
||||
send_packet_new_connection(connect_socket->first);
|
||||
launch_callback(connect_socket->first, CONNECT_SOCKET_NOT_ACCEPTED);
|
||||
|
||||
return k_EResultOK;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue