RFR: 8133015 - InetAddress.isReachable(tmout) returning wrong value on Windows for IPv6
Rob McKenna
rob.mckenna at oracle.com
Tue Aug 11 18:08:02 UTC 2015
Hi folks,
Upon investigating what turned out to be a network traffic filtering
problem it was noticed that Windows InetAddress.isReachable() leverages
TCP to detect other hosts on the network. Since new APIs for using ICMP
have been implemented in Windows 2000 it could be helpful to support them.
This implementation removes the TCP call but it might make sense to keep
that for redundancy. (though that could get messy when trying to take
timeouts into account)
http://cr.openjdk.java.net/~robm/8133015/
-Rob
More information about the net-dev
mailing list