ipv4 ipv6数据库存储

Posted 楊柳

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ipv4 ipv6数据库存储相关的知识,希望对你有一定的参考价值。

If you‘re storing them as strings rather than bit patterns:

IPv4 addresses consist of four 3-digit decimal characters with three . separators, so that only takes 15 characters such as 255.255.255.255.

IPv6 addresses consist of eight 4-digit hex characters with seven : separators, so that takes 39 characters such as 0123:4567:89ab:cdef:0123:4567:89ab:cdef.

以上是关于ipv4 ipv6数据库存储的主要内容,如果未能解决你的问题,请参考以下文章