1
0
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:
Oliver Booth 2024-02-13 00:06:22 +00:00
parent 45111aae72
commit 5cb8b821ca
Signed by: oliverbooth
GPG Key ID: E60B570D1B7557B5

View File

@ -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);