A behavior difference about reachable test for address zero

Sean Chou zhouyx at linux.vnet.ibm.com
Fri Nov 25 05:58:53 PST 2011


No. Once before a time there was a testcase about it, so I just make sure
it's a testcase
problem. Thanks anyway.

On Fri, Nov 25, 2011 at 7:28 PM, Chris Hegarty <chris.hegarty at oracle.com>wrote:

> On 25/11/2011 05:58, Sean Chou wrote:
>
>> Yes. ping 0.0.0.0 on linux works; while windows report not reachable.
>>
>
> Right, so InetAddress.isReachable is reporting the same result as the
> native ping command. Is this an issue for you guys?
>
> -Chris.
>
>  On Tue, Nov 22, 2011 at 9:22 PM, Alan Bateman <Alan.Bateman at oracle.com
>> <mailto:Alan.Bateman at oracle.**com <Alan.Bateman at oracle.com>>> wrote:
>>
>>    On 22/11/2011 08:40, Sean Chou wrote:
>>
>>
>>        Hi all,
>>
>>            I found a behavior difference when running the testcase
>>        PingZero on linux and windows.
>>        On Linux, it prints "reachable" while on windows "unreachable",
>>        which is the same with
>>        the result of running "ping 0.0.0.0" on these two platforms.
>>
>>            Is it a bug or intended?
>>
>>    Do you get the same thing when you use the ping command?
>>
>>    -Alan
>>
>>
>>
>>
>> --
>> Best Regards,
>> Sean Chou
>>
>>


-- 
Best Regards,
Sean Chou
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/net-dev/attachments/20111125/49db0b7e/attachment.html 


More information about the net-dev mailing list