Date: Sun, 3 Aug 1997 19:11:05 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-bugs@hub.freebsd.org Subject: Re: bin/4218: change in ping behavior: -c now counts _received_ packets Message-ID: <19970803191105.YT23746@uriah.heep.sax.de> In-Reply-To: <199708030912.CAA22377@implode.root.com>; from David Greenman on Aug 3, 1997 02:12:04 -0700 References: <199708030800.BAA12082@hub.freebsd.org> <199708030912.CAA22377@implode.root.com>
next in thread | previous in thread | raw e-mail | index | archive | help
As David Greenman wrote: > Hmmm. FreeBSD 2.1.x and 2.2.x both do something a bit more complicated > than just wait for the <n> packets to be received. ping will transmit up > to <n> packets and wait for these to be received; it will wait for the > first received packet for up to 10 seconds, and a variable amount of time > (twice the maximum round trip time) if one or more have already been > received. Ah. I've only looked at the logic behind `nreceived', but missed the alarm handler. So the question arises: why has the alarm behaviour been changed at all? (And why is/was it not documented?) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970803191105.YT23746>