성태의 닷넷 이야기
홈 주인
모아 놓은 자료
프로그래밍
질문/답변
사용자 관리
사용자
메뉴
아티클
외부 아티클
유용한 코드
온라인 기능
MathJax 입력기
최근 덧글
[정성태] 그냥 RSS Reader 기능과 약간의 UI 편의성 때문에 사용...
[이종효] 오래된 소프트웨어는 보안 위협이 되기도 합니다. 혹시 어떤 기능...
[정성태] @Keystroke IEEE의 문서를 소개해 주시다니... +_...
[손민수 (Keystroke)] 괜히 듀얼채널 구성할 때 한번에 같은 제품 사라고 하는 것이 아...
[정성태] 전각(Full-width)/반각(Half-width) 기능을 토...
[정성태] Vector에 대한 내용은 없습니다. Vector가 닷넷 BCL...
[orion] 글 읽고 찾아보니 디자인 타임에는 InitializeCompon...
[orion] 연휴 전에 재현 프로젝트 올리자 생각해 놓고 여의치 않아서 못 ...
[정성태] 아래의 글에 정리했으니 참고하세요. C# - Typed D...
[정성태] 간단한 재현 프로젝트라도 있을까요? 저런 식으로 설명만 해...
글쓰기
제목
이름
암호
전자우편
HTML
홈페이지
유형
제니퍼 .NET
닷넷
COM 개체 관련
스크립트
VC++
VS.NET IDE
Windows
Team Foundation Server
디버깅 기술
오류 유형
개발 환경 구성
웹
기타
Linux
Java
DDK
Math
Phone
Graphics
사물인터넷
부모글 보이기/감추기
내용
<div style='display: inline'> <h1 style='font-family: Malgun Gothic, Consolas; font-size: 20pt; color: #006699; text-align: center; font-weight: bold'>윈도우 환경에서 클라이언트 소켓의 최대 접속 수 (4) - ReuseUnicastPort를 이용한 포트 고갈 문제 해결</h1> <p> 지난 글에서,<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > C# - dynamicport 값의 범위를 알아내는 방법 ; <a target='tab' href='https://www.sysnet.pe.kr/2/0/12434'>https://www.sysnet.pe.kr/2/0/12434</a> </pre> <br /> <a target='tab' href='https://www.sysnet.pe.kr/2/0/12434#output_nettcp'>Get-NetTCPSetting의 출력 결과</a>를 보면 특이한 속성이 2개 있습니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > ...[생략]... DynamicPortRangeStartPort : 1024 DynamicPortRangeNumberOfPorts : 64511 AutomaticUseCustom : Disabled NonSackRttResiliency : Disabled ForceWS : Enabled MaxSynRetransmissions : 4 <span style='color: blue; font-weight: bold'>AutoReusePortRangeStartPort : 0 AutoReusePortRangeNumberOfPorts : 0</span> /* Service Name and Transport Protocol Port Number Registry ; <a target='tab' href='https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml'>https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml</a> System Ports(Well-Known Port Numbers): 0 ~ 1023 User Ports(Registered Port Numbers): 1024 ~ 49151 Dynamic and/or Private Ports: 49152 ~ 65535 */ </pre> <br /> <div style='BACKGROUND-COLOR: #ccffcc; padding: 10px 10px 5px 10px; MARGIN: 0px 10px 10px 10px; FONT-FAMILY: Malgun Gothic, Consolas, Verdana; COLOR: #005555'> <span style='color: blue; font-weight: bold'>AutoReusePortRangeStartPort</span> <br /> Specifies the number of ports for the auto-reuse port range, which is a port range used for local ephemeral port selection by outbound TCP connections for which either SO_REUSE_UNICASTPORT has been set on the socket, or for which connect() has been called without calling bind() on the socket.<br /> <br /> If you specify 0, the auto-reuse feature is disabled and ephemeral ports are drawn instead from the dynamic port range as specified by DynamicPortRangeStartPort and DynamicPortRangeNumberOfPorts, even if SO_REUSE_UNICASTPORT is set on a socket.<br /> </div><br /> <br /> <div style='BACKGROUND-COLOR: #ccffcc; padding: 10px 10px 5px 10px; MARGIN: 0px 10px 10px 10px; FONT-FAMILY: Malgun Gothic, Consolas, Verdana; COLOR: #005555'> <span style='color: blue; font-weight: bold'>AutoReusePortRangeNumberOfPorts</span> <br /> Specifies the number of ports for the auto-reuse port range, which is a port range used for local ephemeral port selection by outbound TCP connections for which either SO_REUSE_UNICASTPORT has been set on the socket, or for which connect() has been called without calling bind() on the socket.<br /> <br /> If you specify 0, the auto-reuse feature is disabled and ephemeral ports are drawn instead from the dynamic port range as specified by DynamicPortRangeStartPort and DynamicPortRangeNumberOfPorts, even if SO_REUSE_UNICASTPORT is set on a socket.<br /> </div><br /> <br /> (<a target='tab' href='https://learn.microsoft.com/en-us/previous-versions/windows/desktop/nettcpipprov/msft-nettcpsetting'>WMI 관련 문서</a>에서는 저 2개의 옵션에 대해 "This property is not supported before Windows 10 and Windows Server 2016."이라는 제약을 언급합니다.)<br /> <br /> 그리고 SO_REUSE_UNICASTPORT 옵션이 눈에 들어옵니다. 재미있는 것은, 그 옵션을 전부터 다음의 문서에 설명한 정도로만 알고 있었는데,<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > SOL_SOCKET Socket Options ; <a target='tab' href='https://learn.microsoft.com/en-us/windows/win32/winsock/sol-socket-socket-options'>https://learn.microsoft.com/en-us/windows/win32/winsock/sol-socket-socket-options</a> </pre> <br /> <div style='BACKGROUND-COLOR: #ccffcc; padding: 10px 10px 5px 10px; MARGIN: 0px 10px 10px 10px; FONT-FAMILY: Malgun Gothic, Consolas, Verdana; COLOR: #005555'> SO_REUSE_UNICASTPORT<br /> <br /> When set, allow ephemeral port reuse for Winsock API connection functions which require an explicit bind, such as ConnectEx. Note that connection functions with an implicit bind (such as connect without an explicit bind) have this option set by default. Use this option instead of <a target='tab' href='https://www.sysnet.pe.kr/2/0/12433'>SO_PORT_SCALABILITY</a> on platforms where both are available.<br /> </div><br /> <br /> 문제는, 테스트 결과와 맞지 않아서 이해를 못하고 있었던 상태였습니다. 그런 와중에, 의도치 않게 <a target='tab' href='https://learn.microsoft.com/en-us/previous-versions/windows/desktop/nettcpipprov/msft-nettcpsetting'>MSFT_NetTCPSetting</a> 설정에서 AutoReusePortRangeStartPort/AutoReusePortRangeNumberOfPorts 옵션의 값들이 0이라는 것에 실마리가 풀리기 시작합니다. 즉, 기본적으로 윈도우 환경에서 SO_REUSE_UNICASTPORT를 위한 환경 설정은 disabled 상태였던 것입니다.<br /> <br /> <hr style='width: 50%' /><br /> <br /> 눈치채셨겠지만, 윈도우에서는 특이하게 "REUSE PORT"를 위한 영역을 설정할 수 있게 했고 바로 그것이 AutoReusePortRangeStartPort/AutoReusePortRangeNumberOfPorts가 됩니다.<br /> <br /> 실제로 테스트를 해볼까요? ^^<br /> <br /> "<a target='tab' href='https://argonsys.com/microsoft-cloud/library/tcp-templates-for-windows-server-2019-how-to-tune-your-windows-server-transports-advanced-users-only-%F0%9F%98%89/'>TCP Templates for Windows Server 2019 - How to tune your Windows Server Transports (Advanced users only)</a>" 글에 따르면 SettingName의 성격에 따라 우리가 하려는 localhost로의 연결인 경우 DatacenterCustom이 맞을 것입니다.<br /> <a name='set_nettcpsetting'></a> <br /> 그런데, 이 설정을 바꾸면 적용하기 위해 시스템 재부팅이 필요한데요, 일단 이 글은 클라이언트 소켓의 5-tuple 구분이 되느냐 여부가 관건이므로 그냥 ^^ 싹 변경을 해보겠습니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > Set-NetTCPSetting -SettingName InternetCustom -AutoReusePortRangeStartPort 15000 -AutoReusePortRangeNumberOfPorts 1000 Set-NetTCPSetting -SettingName DatacenterCustom -AutoReusePortRangeStartPort 15000 -AutoReusePortRangeNumberOfPorts 1000 Set-NetTCPSetting -SettingName Internet -AutoReusePortRangeStartPort 15000 -AutoReusePortRangeNumberOfPorts 1000 Set-NetTCPSetting -SettingName Datacenter -AutoReusePortRangeStartPort 15000 -AutoReusePortRangeNumberOfPorts 1000 </pre> <br /> 15,000번 포트부터 (테스트의 편의를 위해) 1,000개의 영역을 예약했는데요, 확인은 (반드시 재부팅 후에) 다음과 같이 Get-NetTCPSetting 명령어를 내리면 됩니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > PS C:\WINDOWS\system32> <span style='color: blue; font-weight: bold'>Get-NetTCPSetting -SettingName Datacenter</span> SettingName : Datacenter MinRto(ms) : 20 InitialCongestionWindow(MSS) : 10 CongestionProvider : CUBIC CwndRestart : False DelayedAckTimeout(ms) : 10 DelayedAckFrequency : 2 MemoryPressureProtection : Enabled AutoTuningLevelLocal : Normal AutoTuningLevelGroupPolicy : NotConfigured AutoTuningLevelEffective : Local EcnCapability : Disabled Timestamps : Disabled InitialRto(ms) : 1000 ScalingHeuristics : Disabled DynamicPortRangeStartPort : 1024 DynamicPortRangeNumberOfPorts : 977 AutomaticUseCustom : Disabled NonSackRttResiliency : Disabled ForceWS : Enabled MaxSynRetransmissions : 4 <span style='color: blue; font-weight: bold'>AutoReusePortRangeStartPort : 15000 AutoReusePortRangeNumberOfPorts : 1000</span> </pre> <br /> 잘 변경되었군요. ^^<br /> <br /> <hr style='width: 50%' /><br /> <br /> 일단 환경 구성은 완료했고, 재미있는 것은 이렇게 바꾼 후 <a target='tab' href='https://www.sysnet.pe.kr/2/0/12350#srv_code'>지난 예제의 서버</a>를 해당 PC에서 돌리면 다음과 같은 오류가 발생합니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > D:\temp> <span style='color: blue; font-weight: bold'>ConsoleApp1.exe</span> Unhandled Exception: Unhandled Exception: System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.Bind(EndPoint localEP) at System.Net.Sockets.TcpListener.Start(Int32 backlog) at ConsoleApp1.Program.acceptFunc(Object objPort) in C:\temp\unicast_socket_sample\ConsoleApp1\Program.cs:line 59 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart(Object obj) System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.Bind(EndPoint localEP) at System.Net.Sockets.TcpListener.Start(Int32 backlog) at ConsoleApp1.Program.acceptFunc(Object objPort) in C:\temp\unicast_socket_sample\ConsoleApp1\Program.cs:line 59 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart(Object obj) </pre> <br /> 기존의 DynamicPorts 영역에서는 Listen 포트로도 사용이 가능했었던 것과는 달리, AutoReuse로 예약된 경우는 Listen 용도로도 허용이 안되는 듯합니다. 그래서 각각 17000번, 17001번 포트로 대기하도록 변경을 해줍니다. 그다음, 클라이언트 측 코드는 단순하게 다음과 같이 작성하면 됩니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > using System; using System.Collections.Generic; using System.Net; using System.Net.Sockets; using System.Runtime.InteropServices; namespace ConsoleApp2 { class Program { static void Main(string[] args) { string ipAddr = args[0]; int port = int.Parse(args[1]); int numberOf = int.Parse(args[2]); List<Socket> clients1 = new List<Socket>(); try { for (int i = 0; i < numberOf; i++) { try { <span style='color: blue; font-weight: bold'>Socket client = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); client.Connect(ipAddr, port);</span> Console.WriteLine($"{client.LocalEndPoint}-{client.RemoteEndPoint}"); clients1.Add(client); } catch (Exception) { } } } catch (Exception e) { Console.WriteLine(e.ToString()); } Console.WriteLine(clients1.Count); Console.ReadLine(); } } } </pre> <br /> 이후, 서버와 클라이언트의 실행 결과를 각각 다음과 같이 확인할 수 있습니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > // 서버 측 포트 17000, 17001 Listen D:\temp> <span style='color: blue; font-weight: bold'>ConsoleApp1.exe</span> # of 17000: 0, 17001: 0 # of 17000: 0, 17001: 0 # of 17000: 1000, 17001: 0 # of 17000: 1000, 17001: 0 # of 17000: 1000, 17001: 1000 # of 17000: 1000, 17001: 1000 </pre> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > // #1 클라이언트 측 - 17000 포트로 1001개 접속 시도 D:\temp> <span style='color: blue; font-weight: bold'>ConsoleApp2.exe localhost 17000 1001</span> 127.0.0.1:<span style='color: blue; font-weight: bold'>15161</span>-127.0.0.1:17000 127.0.0.1:<span style='color: blue; font-weight: bold'>15162</span>-127.0.0.1:17000 127.0.0.1:<span style='color: blue; font-weight: bold'>15163</span>-127.0.0.1:17000 127.0.0.1:<span style='color: blue; font-weight: bold'>15164</span>-127.0.0.1:17000 127.0.0.1:<span style='color: blue; font-weight: bold'>15165</span>-127.0.0.1:17000 127.0.0.1:<span style='color: blue; font-weight: bold'>15166</span>-127.0.0.1:17000 ...[생략]... 127.0.0.1:<span style='color: blue; font-weight: bold'>15156</span>-127.0.0.1:17000 127.0.0.1:<span style='color: blue; font-weight: bold'>15157</span>-127.0.0.1:17000 127.0.0.1:<span style='color: blue; font-weight: bold'>15158</span>-127.0.0.1:17000 127.0.0.1:<span style='color: blue; font-weight: bold'>15159</span>-127.0.0.1:17000 127.0.0.1:<span style='color: blue; font-weight: bold'>15160</span>-127.0.0.1:17000 1000 </pre> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > // #2 클라이언트 측 - 17001 포트로 1001개 접속 시도 D:\temp>ConsoleApp2.exe localhost 17001 1001 127.0.0.1:<span style='color: blue; font-weight: bold'>15079</span>-127.0.0.1:17001 127.0.0.1:<span style='color: blue; font-weight: bold'>15080</span>-127.0.0.1:17001 127.0.0.1:<span style='color: blue; font-weight: bold'>15081</span>-127.0.0.1:17001 127.0.0.1:<span style='color: blue; font-weight: bold'>15082</span>-127.0.0.1:17001 127.0.0.1:<span style='color: blue; font-weight: bold'>15083</span>-127.0.0.1:17001 127.0.0.1:<span style='color: blue; font-weight: bold'>15084</span>-127.0.0.1:17001 127.0.0.1:<span style='color: blue; font-weight: bold'>15085</span>-127.0.0.1:17001 ...[생략]... 127.0.0.1:<span style='color: blue; font-weight: bold'>15073</span>-127.0.0.1:17001 127.0.0.1:<span style='color: blue; font-weight: bold'>15074</span>-127.0.0.1:17001 127.0.0.1:<span style='color: blue; font-weight: bold'>15075</span>-127.0.0.1:17001 127.0.0.1:<span style='color: blue; font-weight: bold'>15076</span>-127.0.0.1:17001 127.0.0.1:<span style='color: blue; font-weight: bold'>15077</span>-127.0.0.1:17001 127.0.0.1:<span style='color: blue; font-weight: bold'>15078</span>-127.0.0.1:17001 1000 </pre> <br /> 보는 바와 같이, AutoReuse로 잡아 놓은 범위 내에서만 포트를 할당받고 있으며 2개의 클라이언트 모두 각각 1,000개까지의 연결을 성공적으로 하고 있습니다.<br /> <br /> <hr style='width: 50%' /><br /> <br /> 반면, 어떤 식으로든 (connect 전에) bind를 하는 경우에는,<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > client.<span style='color: blue; font-weight: bold'>Bind</span>(new IPEndPoint(IPAddress.Any, 0)); client.Connect(targetIp, port); </pre> <br /> 해당 포트는 AutoReusePortRangeStartPort가 아닌 DynamicPortRangeStartPort로부터 포트를 할당받고 이 영역의 소켓은 (자동) reuse가 안되므로 <a target='tab' href='https://www.sysnet.pe.kr/2/0/12350#output'>지난 출력 결과</a>와 같이 5-tuple 혜택을 받지 못해 원래대로 중복 포트 연결이 안 됩니다. 하지만, 만약 bind가 꼭 필요하다면, 이때 명시적으로 ReuseUnicastPort 옵션을 줘도 됩니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > <span style='color: blue; font-weight: bold'>client.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReuseUnicastPort, true);</span> client.Bind(new IPEndPoint(IPAddress.Any, 0)); client.Connect(targetIp, port); // AutoReuse 영역으로부터 포트 할당 </pre> <br /> 이렇게 실습한 후에, 다시 한번 SO_REUSE_UNICASTPORT 설명을 보면,<br /> <br /> <div style='BACKGROUND-COLOR: #ccffcc; padding: 10px 10px 5px 10px; MARGIN: 0px 10px 10px 10px; FONT-FAMILY: Malgun Gothic, Consolas, Verdana; COLOR: #005555'> SO_REUSE_UNICASTPORT<br /> <br /> When set, allow ephemeral port reuse for Winsock API connection functions which require an explicit bind, such as ConnectEx. Note that connection functions with an implicit bind (such as connect without an explicit bind) have this option set by default. Use this option instead of SO_PORT_SCALABILITY on platforms where both are available.<br /> </div><br /> <br /> 이제서야 내용과 실습이 일치해서 이해가 갑니다. ^^<br /> <br /> (<a target='tab' href='https://www.sysnet.pe.kr/bbs/DownloadAttachment.aspx?fid=1673&boardid=331301885'>첨부 파일은 이 글의 예제 코드를 포함</a>합니다.)<br /> <br /> <hr style='width: 50%' /><br /> <br /> 정리해 보면, 클라이언트 운영체제의 경우 Windows 10부터, 서버 운영체제인 경우에는 Windows Server 2016부터 AutoReusePortRangeStartPort/AutoReusePortRangeNumberOfPorts 옵션을 설정하면 일반적인 상황에서도 5-tuple 구분 값을 사용해 소켓을 사용할 수 있습니다. (다르게 말해 "ephemeral port exhaustion" 문제가 일부 환경에서 해결됩니다.)<br /> <br /> 현실적으로 봤을 때, 기존 응용 프로그램의 bind를 포함한 소켓 사용을 고려해 다음과 같은 범위로 설정하는 것이 좋을 듯합니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > // 10,000개의 dynamic ports, 50,000개의 auto-reuse 포트 DynamicPortRangeStartPort : 1024 DynamicPortRangeNumberOfPorts : 10000 AutoReusePortRangeStartPort : 15000 AutoReusePortRangeNumberOfPorts : 50000 </pre> <br /> 물론, 대부분의 응용 프로그램들이 기본값(64,511)의 ephemeral port 사용을 허용하는 기존 설정을 바꿀 필요는 없습니다. 저런 설정까지 필요한 것은 API Gateway 등의 역할을 수행하는 프로그램 정도가 될 것입니다. 예를 들어, <br /> <br /> [그림 출처: <a target='tab' href='https://making.pusher.com/ephemeral-port-exhaustion-and-how-to-avoid-it/'>https://making.pusher.com/ephemeral-port-exhaustion-and-how-to-avoid-it/</a>]<br /> <br /> <img onclick='toggle_img(this)' class='imgView' alt='websocket-server-haproxy.png' src='/SysWebRes/bbs/websocket-server-haproxy.png' /><br /> <br /> 위와 같은 상황인 경우 Gateway 역할을 하는 haproxy 프로세스는 다른 서비스로 Socket Connect를 하게 될 텐데, 만약 auto-reuse 설정을 하지 않은 상태라면 socket:8080 ~ socket:8083까지 통틀어 총 64,000개 정도의 연결만 허용할 수 있는 반면, auto-reuse 설정을 (50,000개로 설정했다면) 각각 5만 개씩 총 20만 개의 포트가 열릴 수 있게 되는 것입니다.<br /> <br /> <hr style='width: 50%' /><br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > 윈도우 서버 환경에서, 최대 생성 가능한 소켓(socket) 연결 수는 얼마일까? ; <a target='tab' href='https://www.sysnet.pe.kr/2/0/964'>https://www.sysnet.pe.kr/2/0/964</a> 윈도우 환경에서 클라이언트 소켓의 최대 접속 수 ; <a target='tab' href='https://www.sysnet.pe.kr/2/0/12350'>https://www.sysnet.pe.kr/2/0/12350</a> 윈도우 환경에서 클라이언트 소켓의 최대 접속 수 (2) - SO_REUSEADDR ; <a target='tab' href='https://www.sysnet.pe.kr/2/0/12432'>https://www.sysnet.pe.kr/2/0/12432</a> 윈도우 환경에서 클라이언트 소켓의 최대 접속 수 (3) - SO_PORT_SCALABILITY ; <a target='tab' href='https://www.sysnet.pe.kr/2/0/12433'>https://www.sysnet.pe.kr/2/0/12433</a> </pre> </p><br /> <br /><hr /><span style='color: Maroon'>[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]</span> </div>
첨부파일
스팸 방지용 인증 번호
1275
(왼쪽의 숫자를 입력해야 합니다.)