WSASend report "本地网络终止连接" when another tcpconnection buf full

weixin_38051479 2017-10-13 07:43:33
I'm sure that boost::asio use WSASend to send message, But I don't know how asio was getting the result of send.
I wrote a tcp server by boost::asio, send many many message to clients. One of the clients paused(such as pause by debugger or recv msg is paused by scanf), others run normally.
When the client paused, the memory load of the server increased fast. A few minutes later,  serval clients was report error "本地网络终止连接"(it means local network terminated).
I don't know why those clients run successfully but a few minutes later they got error. Could you explain it?
...全文
12 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复

476

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧