refactor: use default listen backlog
This commit is contained in:
parent
45111aae72
commit
5cb8b821ca
|
@ -109,7 +109,7 @@ public sealed partial class ProtocolListener : Node
|
|||
BaseSocket.SetSocketOption(SocketOptionLevel.IPv6, SocketOptionName.IPv6Only, false);
|
||||
|
||||
BaseSocket.Bind(localEP);
|
||||
BaseSocket.Listen(10);
|
||||
BaseSocket.Listen();
|
||||
IsRunning = true;
|
||||
|
||||
Started?.Invoke(this, EventArgs.Empty);
|
||||
|
|
Loading…
Reference in New Issue