A behavior difference about reachable test for address zero
Chris Hegarty
chris.hegarty at oracle.com
Fri Nov 25 03:28:35 PST 2011
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>> 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
>
More information about the net-dev
mailing list