当前位置:网站首页>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
边栏推荐
- Matlab superpixels function (2D super pixel over segmentation of image)
- Understand kotlin from the perspective of an architect
- Which domestic cloud management platform manufacturer is good in 2022? Why?
- Third party payment interface design
- Resnet18 actual battle Baoke dream spirit
- Solve the error 1045 of Navicat creating local connection -access denied for user [email protected] (using password
- NPM install reports an error
- 只是巧合?苹果 iOS16 的神秘技术竟然与中国企业 5 年前产品一致!
- Select drop-down box realizes three-level linkage of provinces and cities in China
- Swift - add navigation bar
猜你喜欢

Check the debug port information in rancher and do idea remote JVM debug

MySQL storage engine

Get all stock data of big a
Two minutes will take you to quickly master the project structure, resources, dependencies and localization of flutter

Migrate data from Mysql to neo4j database

Master the new features of fluent 2.10
![[superhard core] is the core technology of redis](/img/5e/d6438f09031c2acbea17441c316a2b.jpg)
[superhard core] is the core technology of redis

ZABBIX customized monitoring disk IO performance

ABAP table lookup program

嵌入式软件架构设计-消息交互
随机推荐
SENT协议译码的深入探讨
A new WiFi option for smart home -- the application of simplewifi in wireless smart home
Leetcode-1. Sum of two numbers (Application of hash table)
How does MySQL execute an SQL statement?
MySQL index (1)
图像超分实验:SRCNN/FSRCNN
ZABBIX agent2 installation
Third party payment interface design
ACID事务理论
想问问,如何选择券商?在线开户是很安全么?
你做自动化测试为什么总是失败?
Halcon template matching actual code (I)
MySQL log module of InnoDB engine
Understand redis persistence mechanism in one article
Redis highly available sentinel cluster
Master the new features of fluent 2.10
Learn the memory management of JVM 03 - Method area and meta space of JVM
Implementing Yang Hui triangle with cyclic queue C language
Hiengine: comparable to the local cloud native memory database engine
Redis clean cache