[eluser]jedd[/eluser]
[quote author="theprodigy" date="1265177846"]I can tell you why it's not int. Int's (and any number formats) require at most one decimal in the number. IP addresses have 3. Thus it is not in number format.[/quote]
Hmm.
Integers have
no decimal point at all - or rather, nothing to the right of the (implied, but not shown) decimal point.
IPv4 addresses have a standard integer representation - calculated quite easily by multiplying the first octet by 256^3, the second by 256^2, the third by 256 and adding the last. This is often used in database storage systems, for semi-obvious reasons.
I'm equally stumped on the 16 char specification, though. Of course if the extra char is blowing your capacity and performance specs out of the water, then you have some pretty streamlined code (and I'm quite envious).