C++window环境下实现WebSocket 同时避免failed: A server must not mask any frames that it sends to the client.

本文主要是使用C++ 在window环境下 实现WebSocket Server端的经验记录, 不对WebSocket做详细解释

关于详细细节可以参考如下几篇文章

https://blog.csdn.net/xiaoquantouer/article/details/58001960  代码来源, 基于此博主的代码进行修改完成

https://blog.csdn.net/weixin_34196559/article/details/83479894  此博主已经对原理解释的非常详细了,强烈推荐仔细阅读,本人就是在详细阅读后来改完的代码

https://www.jianshu.com/p/2fc4d76457e3 WebSocket抓包方法

https://www.cnblogs.com/songwenjie/p/8575579.html  大牛分析的WebSocket包细节

https://datatracker.ietf.org/doc/rfc6455/?include_text=1  英文协议

关于本人遇到的坑,最坑的就是failed: A server must not mask any frames that it sends to t

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值