当前位置:网站首页>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
边栏推荐
- Third party payment interface design
- MySQL view
- 一款新型的智能家居WiFi选择方案——SimpleWiFi在无线智能家居中的应用
- Video networkstate property
- Hexadecimal conversion summary
- Correct opening method of redis distributed lock
- Application of a class of identities (vandermond convolution and hypergeometric functions)
- Matlab boundarymask function (find the boundary of the divided area)
- [hdu 2096] Xiaoming a+b
- ACID事务理论
猜你喜欢
Intern position selection and simplified career development planning in Internet companies
C language structure is initialized as a function parameter
Simple production of wechat applet cloud development authorization login
Redis's memory elimination mechanism, read this article is enough.
Take you hand in hand to develop a service monitoring component
- [email protected] (using password"/>
Solve the error 1045 of Navicat creating local connection -access denied for user [email protected] (using password
Flutter2 heavy release supports web and desktop applications
Two minutes will take you to quickly master the project structure, resources, dependencies and localization of flutter
Select drop-down box realizes three-level linkage of provinces and cities in China
NPM install reports an error
随机推荐
PXE启动配置及原理
Detailed steps for upgrading window mysql5.5 to 5.7.36
Redis highly available sentinel mechanism
Flutter2 heavy release supports web and desktop applications
II. Data type
Pytoch loads the initialization V3 pre training model and reports an error
语义分割实验:Unet网络/MSRC2数据集
A new WiFi option for smart home -- the application of simplewifi in wireless smart home
Take you hand in hand to develop a service monitoring component
Intern position selection and simplified career development planning in Internet companies
What is digital existence? Digital transformation starts with digital existence
16 channel water lamp experiment based on Proteus (assembly language)
Learn memory management of JVM 01 - first memory
Interviewer: is acid fully guaranteed for redis transactions?
Check the debug port information in rancher and do idea remote JVM debug
Anaconda creates a virtual environment and installs pytorch
What is the difference between canvas and SVG?
GPS数据格式转换[通俗易懂]
The solution of outputting 64 bits from printf format%lld of cross platform (32bit and 64bit)
SENT协议译码的深入探讨