Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Mar 1997 13:04:59 -0700
From:      Warner Losh <imp@village.org>
To:        Bill Fenner <fenner@parc.xerox.com>
Cc:        CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sbin@freefall.freebsd.org
Subject:   Re: cvs commit: src/sbin/ping ping.c ping.8 
Message-ID:  <E0w1HVD-0005hs-00@rover.village.org>
In-Reply-To: Your message of "Sun, 02 Mar 1997 12:00:21 PST." <97Mar2.120022pst.177476@crevenia.parc.xerox.com> 
References:  <97Mar2.120022pst.177476@crevenia.parc.xerox.com>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <97Mar2.120022pst.177476@crevenia.parc.xerox.com> Bill Fenner writes:
: >only once a second
: 
: Unless you're using "ping -f", which the superuser may do, in which case
: you're doing it as fast as the network allows you to.

Ummmm, iff -f gives you ICMP packets that aren't ECHOREPLYs *AND* you
are running -v.  Otherwise no additional system calls happen due to
the short-circuit nature of C.

However, like I said before, I've changed it because it took less time
than arguing :-).

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0w1HVD-0005hs-00>