Re: paging all socket geniuses
- From: George Neuner <gneuner2@xxxxxxxxxxx>
- Date: Wed, 30 Jul 2008 10:54:45 -0400
On Wed, 30 Jul 2008 06:14:53 -0500, rpw3@xxxxxxxx (Rob Warnock) wrote:
Kenny <kentilton@xxxxxxxxx> wrote:
+---------------
| D Herring wrote:
| > The address resolution may be borked. In a command shell, type `ping
| > s3.amazonaws.com`
|
| Ok. It says it will talk to s3-1.amazonaws.com and mentions an IP
| address. Then times out. The bad news is that it does this on the
| machine that /can/ get to S3 as well (and I quickly dove in via the app
| to confirm S3 is still up -- they have had issues lately. <g>)
+---------------
On most versions of Windows I've played with [I don't own any, so I don't
know how universal this is], the "ping" behaves as if you had given it
a "-o" option ["Exit successfully after receiving one reply packet"].
And maybe a "-c5" ["Stop after sending (and receiving) 5 packets"],
or some other small number. Which means that it'll only send a "few"
ICMP ECHO_REQUESTs (then stop sending), and either exit immediately on
the first ICMP ECHO_RESPONSE or else hang for some default timeout and
then exit.
Windows ping tries 4 times by default.
Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]
[-r count] [-s count] [[-j host-list] | [-k host-list]]
[-w timeout] target_name
Options:
-t Ping the specified host until stopped.
To see statistics and continue - type
Control-Break;
To stop - type Control-C.
-a Resolve addresses to hostnames.
-n count Number of echo requests to send.
-l size Send buffer size.
-f Set Don't Fragment flag in packet.
-i TTL Time To Live.
-v TOS Type Of Service.
-r count Record route for count hops.
-s count Timestamp for count hops.
-j host-list Loose source route along host-list.
-k host-list Strict source route along host-list.
-w timeout Timeout in milliseconds to wait for each reply.
George
--
for email reply remove "/" from address
.
- References:
- paging all socket geniuses
- From: Kenny
- Re: paging all socket geniuses
- From: D Herring
- Re: paging all socket geniuses
- From: Kenny
- Re: paging all socket geniuses
- From: Rob Warnock
- paging all socket geniuses
- Prev by Date: Re: fftw bindings? (Fourier Transform Library)
- Next by Date: Re: Generating normally distributed randoms in CL
- Previous by thread: Re: paging all socket geniuses
- Next by thread: Re: paging all socket geniuses
- Index(es):