On Fri, Oct 22, 1999 at 05:11:55PM +0100, Biondi, Philippe wrote:
> 
>       
>       Why not is the same
> 
>       telnet 157.253.054.5 with telnet 157.253.54.5???
> 
> beginig a number with a 0 means (for telnet) it is an octal number
> 054=5*8+4=44
> You can try telnet 157.253.0x36.5 too. And you can make combinations... :)


That is not a property of telnet, rather one of the strto* family of
library functions, eg. strtoul. Taken from the manual page:

...
       optional `+' or `-' sign.  If base  is  zero  or  16,  the
       string may then include a `0x' prefix, and the number will
       be read in base 16; otherwise, a zero base is taken as  10
       (decimal)  unless the next character is `0', in which case
       it is taken as 8 (octal).
...

Yours,
  Dominik Kubla
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to