Socket error 10052 on UDP socket

后端 未结 3 1395
我寻月下人不归
我寻月下人不归 2021-01-11 13:29

We have a .NET 2.0 desktop application which sends and receives network packets over UDP.

Several users have reported an occasional socket error 10052 which happens

3条回答
  •  长情又很酷
    2021-01-11 14:31

    See http://msdn.microsoft.com/en-us/library/ms740120%28v=vs.85%29.aspx, which describes the recvfrom function. It says of WSAENETRESET (which is winsock error 10052):

    For a datagram socket, this error indicates that the time to live has expired.

提交回复
热议问题