in reply to Re^2: udp send not reporting host unreachable errors
in thread udp send not reporting host unreachable errors
I agree that UDP is connection less. But RFC 1122, which mandates the behaviour of Linux for UDP protocol states that whenever ICMP error messages are received, they should be reported to the user application.How do you propose this is done? Making the actual send() wait for a possible ICMP package is not practical, as you do not know whether there will come one, and you will not get a success message if the package was accepted. But if you don't wait forever, the program may have terminated before any message arrives.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: udp send not reporting host unreachable errors
by saurabh.hirani (Beadle) on May 05, 2009 at 12:09 UTC | |
by roboticus (Chancellor) on May 05, 2009 at 16:32 UTC |