From 5cb8b821ca2524a6f29b29cbf2d5860ba385d86d Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Tue, 13 Feb 2024 00:06:22 +0000 Subject: [PATCH] refactor: use default listen backlog --- TcpDotNet/ProtocolListener.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TcpDotNet/ProtocolListener.cs b/TcpDotNet/ProtocolListener.cs index 4787449..52c5c74 100644 --- a/TcpDotNet/ProtocolListener.cs +++ b/TcpDotNet/ProtocolListener.cs @@ -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);