HP3000-L Archives

August 2000, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Larry Barnes <[log in to unmask]>
Reply To:
Larry Barnes <[log in to unmask]>
Date:
Fri, 25 Aug 2000 09:57:00 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (38 lines)
Wirt Atmar wrote:

> Donna asks:
>
> > what's the method for translating (in this example) '$0A011024' into
> >  '10.1.16.38'?  we've sort kinda talked about it but i've not been able to
> >  figure out the formula.           - d
>
> It's extremely simple. Because the number is given in hex -- and because an
> IP address is written out as a sequence of four bytes (octets) in decimal --
> all you need do is rewrite the PARM value above as:
>
>      0A 01 10 24
>
> and translate each hex representation to decimal, which in this case is:
>
>      10 1 16 36
>
> and add periods where desired :-).
>
> Wirt Atmar

just use your hex/decimal or oct/decimal converter on your hp calculator.

I gave up trying to remember the conversion tables years ago.  (fading  memory
issue...)


--
Larry Barnes
Director of I.T.
Mitek Corp.
602-438-4545 x1366
Phoenix, AZ 85040

Check Us Out !
http://www.mitekcorp.com

ATOM RSS1 RSS2