From owner-freebsd-questions Wed Jul 12 8:12: 3 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cfdnet.me.tuns.ca (CFDnet.me.TUNS.Ca [134.190.50.164]) by hub.freebsd.org (Postfix) with ESMTP id 8298237BCA9 for ; Wed, 12 Jul 2000 08:12:00 -0700 (PDT) (envelope-from freebsd@cfdnet.me.tuns.ca) Received: from localhost (freebsd@localhost) by cfdnet.me.tuns.ca (8.9.3/8.9.3) with ESMTP id MAA14660; Wed, 12 Jul 2000 12:07:22 -0300 (ADT) (envelope-from freebsd@cfdnet.me.tuns.ca) Date: Wed, 12 Jul 2000 12:07:22 -0300 (ADT) From: Theo Bell To: Stephen Hovey Cc: Alejandro Ramirez , freebsd-questions@FreeBSD.ORG Subject: Re: IP Address Convertion Formula??? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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