当前位置:网站首页>The IP bound to the socket is inaddr_ The meaning of any htonl (inaddr_any) (0.0.0.0 all addresses, uncertain addresses, arbitrary addresses)
The IP bound to the socket is inaddr_ The meaning of any htonl (inaddr_any) (0.0.0.0 all addresses, uncertain addresses, arbitrary addresses)
2022-07-04 07:11:00 【Dontla】
INADDR_ANY Means monitor 0.0.0.0
Address ,socket Bind port only , It is not bound to a specific ip, Let the routing table decide which one to send ip(0.0.0.0
Address means all addresses 、 Uncertain address 、 Any address )( If there are multiple network cards in a host, there are multiple ip Address )( The routing table should know which port is being used by which ip monitor )
Reference article :socket The binding of ip by INADDR_ANY The meaning of
边栏推荐
- what the fuck! If you can't grab it, write it yourself. Use code to realize a Bing Dwen Dwen. It's so beautiful ~!
- [Android reverse] function interception (use cache_flush system function to refresh CPU cache | refresh CPU cache disadvantages | recommended time for function interception)
- Master-slave replication principle of MySQL database
- Boast about Devops
- Uniapp applet subcontracting
- tornado项目之路由装饰器
- CMS source code of multi wechat management system developed based on thinkphp6, with one click curd and other functions
- MySQL storage engine
- What is the use of cloud redis? How to use cloud redis?
- How to input single quotation marks and double quotation marks in latex?
猜你喜欢
[network data transmission] FPGA based development of 100M / Gigabit UDP packet sending and receiving system, PC to FPGA
[thread pool]
The final week, I split
leetcode825. 适龄的朋友
【GF(q)+LDPC】基于二值图GF(q)域的规则LDPC编译码设计与matlab仿真
Chain ide -- the infrastructure of the metauniverse
"Sword finger offer" 2nd Edition - force button brush question
Zhanrui tankbang | jointly build, cooperate and win-win zhanrui core ecology
How to share the source code anti disclosure scheme
Technical experts from large factories: common thinking models in architecture design
随机推荐
Finishing (III) - Exercise 2
Selenium ide plug-in download, installation and use tutorial
MySQL 45 lecture learning notes (VI) global lock
win10微软拼音输入法输入文字时候下方不出现中文提示
Electronic Association C language level 1 34, piecewise function
Analysis of tars source code 5
Cervical vertebra, beriberi
Boast about Devops
2022 is probably the best year for the economy in the next 10 years. Did you graduate in 2022? What is the plan after graduation?
Why does the producer / consumer mode wait () use while instead of if (clear and understandable)
How does the recv of TCP socket receive messages of specified length?
Flink memory model, network buffer, memory tuning, troubleshooting
kubernetes集群之Label管理
Tar source code analysis Part 7
BasicVSR++: Improving Video Super-Resolutionwith Enhanced Propagation and Alignment
Selenium driver ie common problem solving message: currently focused window has been closed
MySQL 45 lecture learning notes (12) MySQL will "shake" for a while
Adaptive spatiotemporal fusion of multi-target networks for compressed video perception enhancement
Selection (022) - what is the output of the following code?
校园网络问题