mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
fix: Telepathy forgot to set socket options for accepted clients on the server
This commit is contained in:
parent
b0b57a23cc
commit
22931fcd84
@ -92,6 +92,10 @@ void Listen(int port)
|
||||
// in the thread
|
||||
TcpClient client = listener.AcceptTcpClient();
|
||||
|
||||
// set socket options
|
||||
client.NoDelay = NoDelay;
|
||||
client.SendTimeout = SendTimeout;
|
||||
|
||||
// generate the next connection id (thread safely)
|
||||
int connectionId = NextConnectionId();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user