当前位置:网站首页>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
边栏推荐
- GPS数据格式转换[通俗易懂]
- MySQL splits strings for conditional queries
- Third party payment interface design
- byte2String、string2Byte
- Linux Installation and deployment lamp (apache+mysql+php)
- Resnet+attention project complete code learning
- Redis highly available sentinel mechanism
- Swift - add navigation bar
- Take you two minutes to quickly master the route and navigation of flutter
- Acid transaction theory
猜你喜欢
Why do you always fail in automated tests?

Migrate data from Mysql to neo4j database

July Huaqing learning-1

Pytoch loads the initialization V3 pre training model and reports an error
[email protected] (using password"/>Solve the error 1045 of Navicat creating local connection -access denied for user [email protected] (using password

Course design of compilation principle --- formula calculator (a simple calculator with interface developed based on QT)

About cache exceptions: solutions for cache avalanche, breakdown, and penetration

C language structure is initialized as a function parameter

ZABBIX ODBC database monitoring
A guide to threaded and asynchronous UI development in the "quick start fluent Development Series tutorials"
随机推荐
Time tools
Interviewer: is acid fully guaranteed for redis transactions?
你做自动化测试为什么总是失败?
MVVM framework part I lifecycle
【ijkplayer】when i compile file “compile-ffmpeg.sh“ ,it show error “No such file or directory“.
Hexadecimal conversion summary
One article tells the latest and complete learning materials of flutter
Learn JVM garbage collection 02 - a brief introduction to the reference and recycling method area
MySQL index (1)
IPv6与IPv4的区别 网信办等三部推进IPv6规模部署
Complete activity switching according to sliding
Seven ways to achieve vertical centering
Just a coincidence? The mysterious technology of apple ios16 is actually the same as that of Chinese enterprises five years ago!
Learn memory management of JVM 01 - first memory
Why do you always fail in automated tests?
A guide to threaded and asynchronous UI development in the "quick start fluent Development Series tutorials"
ZABBIX customized monitoring disk IO performance
End to end neural network
想问问,如何选择券商?在线开户是很安全么?
Introduction to GNN