Sep 7, 2003 #1 adibzo Technical User Joined Aug 11, 2003 Messages 2 Location US Can you please show me how to take a hex value and then display the result as an ip address ex 2fb36894 --> aaa.bbb.xxx.ddd thanks
Can you please show me how to take a hex value and then display the result as an ip address ex 2fb36894 --> aaa.bbb.xxx.ddd thanks
Sep 7, 2003 #2 marsd IS-IT--Management Joined Apr 25, 2001 Messages 2,218 Location US Convert to binary and then use a simple algorithm to split and calculate the address by octet. Upvote 0 Downvote
Sep 8, 2003 #3 ulis Programmer Joined Oct 12, 2001 Messages 429 Location FR Another solution with scan: Code: set x 2fb36894 scan $x %2x%2x%2x%2x x1 x2 x3 x4 puts $x1.$x2.$x3.$x4 -> 47.179.104.148 HTH ulis Upvote 0 Downvote
Another solution with scan: Code: set x 2fb36894 scan $x %2x%2x%2x%2x x1 x2 x3 x4 puts $x1.$x2.$x3.$x4 -> 47.179.104.148 HTH ulis