in reply to udp send not reporting host unreachable errors
To summarize it, when udp socket makes a send system call it returns true, irrespective of the status of the receiving host/port.
...
1. Shouldn't send() be reporting 'Destination host unreachable'?
No, since UDP is connectionless. The packet is just sent, and the protocol doesn't provide that info. You could send an ICMP packet first to make sure the receiving side is reachable.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: udp send not reporting host unreachable errors
by JavaFan (Canon) on May 05, 2009 at 10:47 UTC | |
Re^2: udp send not reporting host unreachable errors
by saurabh.hirani (Beadle) on May 05, 2009 at 10:52 UTC | |
by JavaFan (Canon) on May 05, 2009 at 11:09 UTC | |
by saurabh.hirani (Beadle) on May 05, 2009 at 12:09 UTC | |
by roboticus (Chancellor) on May 05, 2009 at 16:32 UTC |