mirror of
https://github.com/sshnet/SSH.NET.git
synced 2026-10-23 01:38:32 +08:00
Increase backlog to 5.
This commit is contained in:
@@ -30,7 +30,7 @@ namespace Renci.SshNet
|
||||
_listener.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.DontLinger, true);
|
||||
_listener.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.NoDelay, true);
|
||||
_listener.Bind(ep);
|
||||
_listener.Listen(1);
|
||||
_listener.Listen(5);
|
||||
|
||||
Session.ErrorOccured += Session_ErrorOccured;
|
||||
Session.Disconnected += Session_Disconnected;
|
||||
|
||||
Reference in New Issue
Block a user