If you want to do it yourself, then basically you follow a 3-step
procedure.
(1) You convert the unsigned long integrer to hex. 32372939 = x'1EDF8CB'
(2) Separate the octets 1.ED.F8.CB
(3) Convert each octet back to decimal 1.237.248.203 is the address this
represents, I believe
James Shanks
Level 3 Support for Tivoli NetView for UNIX and NT
Tivoli Software / IBM Software Group
"KiYoul Kong" <bart@isiskorea.com>
05/28/2002 04:59 AM
To: nv-l@lists.tivoli.com
cc:
Subject: [nv-l] ip_address convertion in MSSQL[NetView for NT]
Hi lists ;-)
I have a question at Tivoli NetView for NT
On MSSQL database's table,
In ipAddress field,there are filled with integer something like 32372939
I'd like convert 32372939 to xxx.xxx.xxx.xxx
How can I convert interger to IP address? There's a rule to resolving
that?
Thanks In Advance..
and...Enjoy 2002 FIFA worldcup Korea/Japan !!!
---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com
*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)
|