a***@gmail.com
2011-10-13 20:12:56 UTC
Hi,
I have a non-block UDP client socket, I call sendto to send packet to
a remote peer that took the port down. But the sendto always succeeds
with the number of bytes sent, not ICMP port unreachable message
(WSAECONNRESET), from the wireshark, I can see the ICMP port
unreachable message was sent back. But the sendto always succeeds. Any
ideas, TIA.
-Andy
I have a non-block UDP client socket, I call sendto to send packet to
a remote peer that took the port down. But the sendto always succeeds
with the number of bytes sent, not ICMP port unreachable message
(WSAECONNRESET), from the wireshark, I can see the ICMP port
unreachable message was sent back. But the sendto always succeeds. Any
ideas, TIA.
-Andy