Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Monday, October 24, 2016 4:21 PM
Dear All,
I had this exception (The connection has been broken due to keep-alive activity detecting a failure while the operation was in progress) repeated for some minutes on my server application (UDP server).
I'm using Asynchronous method, please:
What that mean (The Exception) ?
Why it was thrown for some minutes and now, i haven't this exception ?
Was it thrown due to high trafic on the UDP socket server ?
Had it any relation with hardware/driver failure ?
I think that i'm using the best way as described in this comparaison.
Thanks in advance.
All replies (2)
Tuesday, October 25, 2016 1:54 AM âś…Answered | 1 vote
Hi nadjibnet,
>>I had this exception (The connection has been broken due to keep-alive activity detecting a failure while the operation was in progress) repeated for some minutes on my server application (UDP server).
For a stream socket, the connection has been broken due to keep-alive activity detecting a failure while the operation was in progress. For a datagram socket, this error indicates that the time to live has expired.
Please also check Socket error 10052 on UDP socket for more details.
Best regards,
Kristin
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].
Wednesday, October 26, 2016 4:57 PM
Hi,
First thanks Kristin Xie for you replay.
According to your answer, it is just a communication exception. So, I have to ignore it, knowing that it will be resent by UDPclient (I'm using ACK to check).
Best Regards