Hello there
sorry for my ignorance but in x86 (low ending machine) isn't it unsigned int = a*256^3 + b*256^2 + c*256 + d (or a>>24 + b>>16 + c>>8 + d) ?
Cheers !3runo
Klaus Darilion wrote:
You can convert IP address a.b.c.d to unsigned integer using:
int = d * 224 + c * 216 + b * 28 + a
I do not think that this will work. Try a+b*256+c*65536+d*16777216