当前位置:网站首页>WebRTC系列-网络传输之本地scoket端口
WebRTC系列-网络传输之本地scoket端口
2022-06-30 20:42:00 【简简单单lym】
一般每个本地的socket绑定地址的时候都会有一个端口,WebRTC中使用socket也是有端口,那么这个端口我们怎么限制其范围;这篇文章就从源码的角度解析WebRTC中对于端口的处理;
1. UDPPort创建端口设置
在前面的网络系列文章中,我们知道本地的Port(也就是本地的一个candidate),是在AllocationSequence中创建然后存储 在AllocationSequence中,在CreateUDPPorts方法中就创建了UDPPort,其中创建相关的源码如下:
std::unique_ptr<UDPPort> port;
bool emit_local_candidate_for_anyaddress =
!边栏推荐
猜你喜欢
随机推荐
Study on lumiprobe modified triphosphate biotin-11-utp
Lumiprobe copper free click chemical solution
PHP obtains opcode and C source code
Lvalue reference and lvalue reference
《大厂面试》之JVM篇21问与答
微信小程序怎么实现圆心进度条
Lumiprobe细胞生物学丨DiA,亲脂性示踪剂说明书
centos——开启/关闭oracle
coredns 修改upstream
学习总结
凤凰架构——架构师的视角
第81场双周赛
A complete collection of vulnerability scanning tools. Mom doesn't have to worry that I won't find any more vulnerabilities
北京大学ACM Problems 1006:Biorhythms
哈夫曼樹(一)基本概念與C語言實現
Game 81 biweekly
为什么vscode用久了电脑速度变慢?
三个火枪手
uniapp-富文本编辑器
股票开户优惠链接,我如何才能得到?另外,手机开户安全么?









