Hi ,
I am trying to convert from an IPADDRESS string [say "12.12.1.2"]to a
unsigned char array[containing the octets witout the dots]
I tried to use c_str().Its was stupid because I tried to cast it with
<unsigned int.
Is there a way easily do this.
Cheers,
Sam
I am trying to convert from an IPADDRESS string [say "12.12.1.2"]to a
unsigned char array[containing the octets witout the dots]
I tried to use c_str().Its was stupid because I tried to cast it with
<unsigned int.
Is there a way easily do this.
Cheers,
Sam
Comment