ping returns success on failure
Richard Foulk
richard@skydive1.com
Fri May 4 19:39:00 GMT 2007
Ping returns zero (0) after a successful response from a remote host.
It returns one (1) if it's called with a unknown domain name -- a failure.
Unfortunately, it returns zero if the remote host exists but doesn't respond.
This seems like incorrect behavior to me and doesn't agree with ping on Linux.
This assumes ping is being directed not to loop forever (ping host 1 1 1).
Richard
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list