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

前端 未结 8 865
情话喂你
情话喂你 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:40

    I've had the same issue (a.k.a error 10055) when trying to connect to a local MySQL database. I believe you need to raise the number of dynamic ports that the operating system allows.

    The solution that worked for me was mentioned here I believe it may help you as well, since you are using Windows. Best of luck!

提交回复
热议问题