找回密码
 立即注册
收起左侧

qudpsocket

0
回复
1275
查看
[复制链接]

尚未签到

来源: 2023-2-7 17:57:38 显示全部楼层 |阅读模式
1Qter豆
  • Only QTcpSocket uses QAbstractSocket's internal buffer; QUdpSocket does not use any buffering at all, but rather relies on the implicit buffering provided by the operating system. Because of this, calling this function on QUdpSocket has no effect.

[color=rgb(51, 102, 153) !important]复制代码

udpsocket的缓存由操作系统决定? 我单步调试发现好像只有8K,是这样的吗?如果这样子怎么才能把缓冲区变大一点呀

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

公告
可以关注我们的微信公众号yafeilinux_friends获取最新动态,或者加入QQ会员群进行交流:190741849、186601429(已满) 我知道了