www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
From: | Richard Foulk <richard AT skydive1 DOT com> |
Message-Id: | <200705041910.l44JAcW1004759@sd.skydive1.com> |
Date: | Fri, 04 May 2007 09:10:38 -1000 |
To: | cygwin AT cygwin DOT com |
Subject: | ping returns success on failure |
References: | <1178291537 DOT 27571 DOT ezmlm AT cygwin DOT com> |
In-Reply-To: | <1178291537.27571.ezmlm@cygwin.com> |
User-Agent: | nail 11.20 1/13/05 |
MIME-Version: | 1.0 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |