当前位置:网站首页>UNIX socket advanced learning diary -ipv4-ipv6 interoperability
UNIX socket advanced learning diary -ipv4-ipv6 interoperability
2022-07-05 12:27:00 【yang881221】
Due to transition ,IPV4 To IPV6 The transformation of is not achieved overnight , Therefore, we need to consider the possibility of both in the long run ;
That is, we need to keep clientIPV4 And IPV6,IPV4 Of Server signal communication ;client IPV6 And IPV6,IPV4 Of Server signal communication
Rule compliance : Backward compatibility
1.IPV4 Intelligent reception comes from IPV4 External links from customers ;
2. If the server has a wildcard address bound IPV6 monitor SOCKET, And the option is set IPV6_V6ONLY Options , Then it can receive V4, It can be accepted again V6 External connections , For those from IPV4 For customer connections , The local address of the server will be with a local IPV4 Address corresponding IPV4 The mapping of IPV6 Address ;
3. If the server has one IPV6 monitor SOCKET, And bound to it is division IPV4 The mapping of IPV6 A non universal configuration other than the address IPV6 Address , Or the generic address is set IPV6_V6ONLY Options , Then it can only receive from IPV6 The connection of .
You can delete the second row and the second column
边栏推荐
- Learn the memory management of JVM 03 - Method area and meta space of JVM
- July Huaqing learning-1
- Take you hand in hand to develop a service monitoring component
- The solution of outputting 64 bits from printf format%lld of cross platform (32bit and 64bit)
- Array cyclic shift problem
- Instance + source code = see through 128 traps
- [superhard core] is the core technology of redis
- Learn JVM garbage collection 02 - a brief introduction to the reference and recycling method area
- Learning items
- MySQL stored procedure
猜你喜欢
Redis clean cache
mysql拆分字符串做条件查询
Matlab imoverlay function (burn binary mask into two-dimensional image)
7月华清学习-1
ZABBIX customized monitoring disk IO performance
Get all stock data of big a
Take you two minutes to quickly master the route and navigation of flutter
Learn memory management of JVM 01 - first memory
NPM install reports an error
Migrate data from Mysql to neo4j database
随机推荐
Experimental design - using stack to realize calculator
Mmclassification training custom data
The survey shows that traditional data security tools cannot resist blackmail software attacks in 60% of cases
Is investment and finance suitable for girls? What financial products can girls buy?
Simple production of wechat applet cloud development authorization login
Cypher syntax of neo4j graph database
The evolution of mobile cross platform technology
GPS数据格式转换[通俗易懂]
How does MySQL execute an SQL statement?
How can beginners learn flutter efficiently?
Why learn harmonyos and how to get started quickly?
Average lookup length when hash table lookup fails
Redis clean cache
Reinforcement learning - learning notes 3 | strategic learning
Course design of compilation principle --- formula calculator (a simple calculator with interface developed based on QT)
Handwriting blocking queue: condition + lock
ZABBIX ODBC database monitoring
Linux Installation and deployment lamp (apache+mysql+php)
Read and understand the rendering mechanism and principle of flutter's three trees
Select drop-down box realizes three-level linkage of provinces and cities in China