Socket error 10052 on UDP socket
- From: "Jesper" <jh9900@xxxxxxxxxxxxx>
- Date: Tue, 1 Jul 2008 16:15:38 +0200
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 when the code calls socket.BeginReceiveFrom on a the UDP socket.
What does this mean?
The official MS documentation for socket error 10052 says - quote:
"WSAENETRESET (10052) Network dropped connection on reset . The connection has been broken due to keep-alive activity detecting a failure while the operation was in progress. It can also be returned by setsockopt if an attempt is made to set SO_KEEPALIVE on a connection that has already failed."
This just doesn't make much sense for a UDP socket since UDP is a connectionless protocol.
I know that another close error code 10054 in connection with UDP sockets means that an ICMP message "Port Unreachable" was received, and I am wondering if 10052 might map to another ICMP message?
I have googled this for months, read network books, etc. but can't find anything.
Please help - what does socket error 10052 on a UDP socket mean?
Thanks in advance,
Jesper
.
- Prev by Date: Re: ClickOnce - Is it right for me?
- Next by Date: Re: Office 2003 & 2007 on same computer
- Previous by thread: sprintf_s downgrade possible ?
- Next by thread: Re: Office 2003 & 2007 on same computer
- Index(es):
Relevant Pages
|