mirror of
https://github.com/oliverbooth/TcpDotNet
synced 2024-11-10 03:55:41 +00:00
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.SetSocketOption(SocketOptionLevel.IPv6, SocketOptionName.IPv6Only, false);
|
||||||
|
|
||||||
BaseSocket.Bind(localEP);
|
BaseSocket.Bind(localEP);
|
||||||
BaseSocket.Listen(10);
|
BaseSocket.Listen();
|
||||||
IsRunning = true;
|
IsRunning = true;
|
||||||
|
|
||||||
Started?.Invoke(this, EventArgs.Empty);
|
Started?.Invoke(this, EventArgs.Empty);
|
||||||
|
Loading…
Reference in New Issue
Block a user