开发者

INADDR_ANY details

开发者 https://www.devze.com 2023-02-15 01:12 出处:网络
what will happen if I use INADDR_ANY for a socket? Will it receive all traffic from all local interfaces that are related to my computer or everything that are transferred through my in开发者_JAVA技巧

what will happen if I use INADDR_ANY for a socket? Will it receive all traffic from all local interfaces that are related to my computer or everything that are transferred through my in开发者_JAVA技巧terfaces? It is very important for networks using HUB!

Thanks a lot


Technically neither. Read the documentation on bind (MSDN) for further details.

0

精彩评论

暂无评论...
验证码 换一张
取 消