Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: lallang@aol.com.cn.ru (Spam Only Irritates Me)
Subject: Re: Octal (?) IP address
Date: 05 Feb 2001 09:38:12 GMT	[thread overview]
Message-ID: <20010205043812.27657.00001517@ng-mn1.aol.com> (raw)
In-Reply-To: vLpf6.1672$sS4.47199@ozemail.com.au

>"Spam Only Irritates Me" <lallang@aol.com.cn.ru> wrote in message
>news:20010204224556.18699.00001741@ng-fi1.aol.com...
>> Is there any Tru64-based utility that will translate this IP address of
>a
>> spampage to the dotted quad equivalent?
>>
>> http://3506561041/viagnow99/
>>
>> It only seems to work under AOL's browser and not regular IE5 nor Netscape
>6.
>
>It's decimal. You could try:
># echo '3506561041' | perl -e 'chomp($a=<>);printf "%vd\n", pack("N",$a);'
>209.1.224.17
>
>but you need perl >= v5.6
>
>Boyd

Okay, thanks.  I'll have to get my perl updated (it's currently 5.004_04 and
came with Tru64 5.0A). Do you have any URL's pointing to webpages that explain
how the whole thing is compacted into one decimal number so I might understand
it a little better? 


------Signature line follows--------------
Remove ".cn.ru" to email me. Don't send me spam. You've been warned.
"Lallang" is the Malay name for "Cogon grass".  See
http://www.nps.gov/plants/alien/fact/imcy1.htm for information.


  reply	other threads:[~2001-02-05  9:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-05  3:45 Octal (?) IP address Spam Only Irritates Me
2001-02-05  4:14 ` Boyd Adamson
2001-02-05  9:38   ` Spam Only Irritates Me [this message]
2001-02-05 10:30     ` David Blackburn
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox