码迷,mamicode.com
首页 > 其他好文 > 详细

特殊地址0.0.0.0

时间:2017-03-25 11:39:24      阅读:141      评论:0      收藏:0      [点我收藏+]

标签:otherwise   ipv4   internet   wiki   tab   org   tin   cal   cat   

In the Internet Protocol Version 4, the address 0.0.0.0 is a non-routable meta-address used to designate an invalid, unknown or non-applicable target. To give a special meaning to an otherwise invalid piece of data is an application of in-band signaling.

In the context of servers, 0.0.0.0 means "all IPv4 addresses on the local machine". If a host has two IP addresses, 192.168.1.1 and 10.1.2.1, and a server running on the host listens on 0.0.0.0, it will be reachable at both of those IPs.

In the context of routing, 0.0.0.0 usually means the default route, i.e. the route which leads to "the rest of" the internet instead of somewhere on the local network.

技术分享?

0.0.0.0

特殊地址0.0.0.0

标签:otherwise   ipv4   internet   wiki   tab   org   tin   cal   cat   

原文地址:http://www.cnblogs.com/huahuahu/p/ipaddress0000.html

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