This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ping returns success on failure


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]