RFR: 8133015 - InetAddress.isReachable(tmout) returning wrong	value on Windows for IPv6
    Michael McMahon 
    michael.x.mcmahon at oracle.com
       
    Wed Aug 12 08:15:58 UTC 2015
    
    
  
Looks reasonable to me Rob.
Thanks
Michael
On 11/08/15 19:08, Rob McKenna wrote:
> 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