当前位置:网站首页>Network related encapsulation introduced by webrtc native M96 basic base module
Network related encapsulation introduced by webrtc native M96 basic base module
2022-06-25 11:46:00 【Crossing the river with a reed 694】
rtc_base IPAddress
Version independent IP Address class , Packaged in_addr and in6_addr Union .
Yes IP Encapsulation of address IPAddress and InterfaceAddress,IPAddress Reload the ==、!=、< and >、 Address support string(std::string ToString() const;
)、sensitive_string(std::string ToSensitiveString() const;
) and uint32_t(AF_INET)(int family() const
) Type output , And support IPV4 turn IPV6 type (IPAddress AsIPv6Address() const;
).InterfaceAddress yes IPAddress Subclasses of (class RTC_EXPORT InterfaceAddress : public IPAddress
), Added IPv6 attribute (int ipv6_flags_;
)
class RTC_EXPORT IPAddress {
public:
IPAddress() : family_(AF_UNSPEC) { ::memset(&u_, 0, sizeof(u_)); }
explicit IPAddress(const in_addr& ip4) : family_(AF_INET) {
memset(&u_, 0, sizeof(u_));
u_.ip4 = ip4;
}
explicit IPAddress(const in6_addr& ip6) : family_(AF_INET6) { u_.ip6 = ip6; }
explicit IPAddress(uint32_t ip_in_host_byte_order) : f
边栏推荐
- ThingsPanel 发布物联网手机客户端(多图)
- 一个硬件工程师走过的弯路
- CFCA安心签接入
- 数据库系列:MySQL索引优化总结(综合版)
- 兴业证券是国企吗?在兴业证券开户资金安全吗?
- CMU提出NLP新范式—重构预训练,高考英语交出134高分
- Develop two modes of BS mode verification code with VFP to make your website more secure
- Xishan technology rushes to the scientific innovation board: it plans to raise 660million yuan. Guoyijun and his wife have 60% of the voting rights
- Whole process of web page request
- Hangzhou / Beijing neitui Ali Dharma academy recruits academic interns in visual generation (talent plan)
猜你喜欢
CMU puts forward a new NLP paradigm - reconstructing pre training, and achieving 134 high scores in college entrance examination English
Develop two modes of BS mode verification code with VFP to make your website more secure
Evaluating the overall situation of each class in a university based on entropy weight method (formula explanation + simple tool introduction)
牛客网:分糖果问题
Detailed explanation of spark specification
Redis6笔记02 配置文件,发布和订阅,新数据类型,Jedis操作
VFP serial port communication is difficult for 9527. Maomao just showed his skill and was defeated by kiss
SQL注入漏洞(绕过篇)
Recommend a virtual machine software available for M1 computer
Translation of meisai C topic in 2022 + sharing of ideas
随机推荐
Source code analysis of AQS & reentrantlock
Spannable and editable, spannablestring and spannablestring
Oracle Spatial creating spatial tables
Customize to prevent repeated submission of annotations (using redis)
建造者模式
分享7个神仙壁纸网站,让新的壁纸,给自己小小的雀跃,不陷入年年日日的重复。
寿命分布 4种
Spark Tuning common configuration parameters
牛客网:旋转数组
Spark runs wordcount (case 1)
Xishan technology rushes to the scientific innovation board: it plans to raise 660million yuan. Guoyijun and his wife have 60% of the voting rights
Wait (), notify (), notifyAll (), sleep (), condition, await (), signal()
What is the development history, specific uses and structure of the chip
9 cases where elements cannot be located
开哪家证券公司的账户是比较好,比较安全的
Hangzhou / Beijing neitui Ali Dharma academy recruits academic interns in visual generation (talent plan)
2022 mathematical modeling competition time and registration fee
ThingsPanel 發布物聯網手機客戶端(多圖)
CFCA Anxin sign access
CFCA安心签接入