-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在 SuperSocket.WebSocket 2.0 中,如何在 IPackageMapper 中处理包未能够完整接收情况 #759
Comments
这错误是WebSocket客户端发送的数据没有mask, 这是老版本客户端的问题。升级一下WebSocket4Net. |
使用的版本是0.15.2 最新稳定版,运行一段时间是正确的工作,服务端和客户端数据收发正常。在andorid 低功耗情况下偶尔出现,调试收到包不完整 图片不是预期完整数据 |
服务器端最近刚刚升级了? |
能确定客户端的ip和类型吗?出现不是很频繁是吧? |
尝试不做 frameCount % 5 == 0 跳帧发送 ,服务端在正常接收几轮数据后出现SuperSocket.ProtoBase.ProtocolException: Mask is required for this websocket package. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在unity andorid 环境下使用WebSocket4Ne4连接WebSocketServer ,客户都使用data发送数据例如[byte,int,long,imgdata]
在服务端处理IPackageMapper<WebSocketPackage, YoloPackage>
出现图片数据包有时候未能完整接收 我改如何返回或处理这种情况并等待包接收完成
The text was updated successfully, but these errors were encountered: