Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2000 12:07:22 -0300 (ADT)
From:      Theo Bell <freebsd@cfdnet.me.tuns.ca>
To:        Stephen Hovey <shovey@buffnet.net>
Cc:        Alejandro Ramirez <ales@megared.net.mx>, freebsd-questions@FreeBSD.ORG
Subject:   Re: IP Address Convertion Formula???
Message-ID:  <Pine.BSF.4.10.10007121205370.13713-100000@cfdnet.me.tuns.ca>
In-Reply-To: <Pine.BSF.4.05.10007121105200.723-100000@buffnet11.buffnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

An easy way to convert the "1075040019" into 64.19.207.19 is to ping it.

bash-2.03$ ping 1075040019
PING 1075040019 (64.19.207.19): 56 data bytes

ping converts it for you. 

I know this isn't the proper way of doing it, but it works. 

HTH

Theo


On Wed, 12 Jul 2000, Stephen Hovey wrote:

> 
> I believe its the raw base 10 integer representation of the dot quad value
> - but a Im not sure in which direction the significant bytes are ordered
> (in other words, if you took the 4 numbers in the dot quad, and looked at
> them as a long 4 byte integer, each value to its own byte, but In your
> example, I dont know if you look at the integer as 19 207 19 64 - or 64 19
> 207 19)
> 
> On Wed, 12 Jul 2000, Alejandro Ramirez wrote:
> 
> > Hi All,
> > 
> >     I suppose that there is a formula to translate an address like
> > "1075040019" into 64.19.207.19, does anybody know something about it that
> > could explain to me???, or where can I see information about this.
> > 
> > Thanks in Advance
> > Ales
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> > 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10007121205370.13713-100000>