码迷,mamicode.com
首页 > 数据库 > 详细

ipv4 ipv6数据库存储

时间:2017-12-02 19:02:54      阅读:200      评论:0      收藏:0      [点我收藏+]

标签:hex   eve   sep   cte   def   hat   code   tor   pat   

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数据库存储

标签:hex   eve   sep   cte   def   hat   code   tor   pat   

原文地址:http://www.cnblogs.com/dennysong/p/7954857.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!