[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] IP addys



----- Original Message -----
From: "Jeff Lasman" <jblists@xxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Wednesday, 15 March 2000 11:04
Subject: Re: [cobalt-users] IP addys


> At 10:53 AM 3/14/00 -0500, you wrote:
>
> >Ack! i stand corrected, it's funny tho, ping is using c parsing
> >rules, i wonder of it's supposed to....here's a weirder one
> >
> >  ping 1.2.3.0x10
> >PING 1.2.3.0x10 (1.2.3.16): 56 data bytes
>
> My testing shows the problem is with how linux answers, not how ping
sends.
>
> Jeff
>

The component "0x10" in the above PING is hexadecimal (base 16), which
equals 16 in decimal.  The "0x" prefix indicates that what follows is a 1 or
2 digit hexadecimal number - each digit is in the range 0-9,a-f.  E.g. "0xa"
equals 10 in decimal, "0xb9" equals 185 in decimal.

Rob E.