Chris Hegarty wrote:
Hi Michael,

On some Linuxes, when bound to the loopback interface, sendto will fail and errno will be set to EINVAL. When that happens, don't throw an exception, just return false. We already do this in the case where we cannot create raw sockets, i.e. when not running as root.

http://cr.openjdk.java.net/~chegar/6947677/webrev.00/webrev/

Thanks,
-Chris.
Chris - is this a kernel bug where it should be returning EHOSTUNREACH or some other error instead? It is specific to the loopback interface so do you have the same issue when bound to a real interface?

-Alan

Reply via email to