“An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full”

前端 未结 8 845
情话喂你
情话喂你 2020-12-03 02:55

I\'ve written an IP multicasting application in C#. It compiles fine, but at runtime this line:

sock.SetSocketOption(SocketOptionLevel.IP,
                          


        
8条回答
  •  情歌与酒
    2020-12-03 03:25

    see - http://support.microsoft.com/kb/2553549 and https://support.microsoft.com/en-us/kb/929851 (you determine how many dynamic outbout ports you want). Along with this second article, set the TcpTimedWaitDelay to dword decimal value of 30. So when sockets get released to the system, the clear faster. See - technet.microsoft.com/en-us/library/cc938217.aspx

提交回复
热议问题