Not big deal, just curious.
Im playing with UDP right now, and I just realized that recvfrom will most of the time return WSAECONNRESET when theres no data coming or going from anywhere..Second msdn:
"On a UDP-datagram socket this error indicates a previous send operation resulted in an ICMP Port Unreachable message."
Than I realized this error is due sendto (if I remove it, the only error is wouldblock)...thats so weird. Why recvfrom would want to care about sendto status or whatever?? Should I treat this just like wouldblock (ignoring it that is)?
Do I get this JUST because Im testing on a single machine with loopback address (since UDP is unreliable and very "raw", how can he knows the message is unreachable, I hope its a local thing, like it didnt even managed to "go for a trip", and thus the error)