Converting standard IP address to Hex format

Hi all,

I need to convert an IP address for eg: "" to a Hex equivalent such that ,it should take the first byte ie 10 and convert it to hex, then 99 n converting it to hex n so on.

Actually i am holding this IPAddress in a i want to know how can i take each bytes and convert to Hex since its separated by '.'.

After conversion , i should hav an array containing the equivalent hex {0x0A,0x63,0x08,0x62}

Expecting solutions from u...........Plz help me out

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!