会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
solq321
博客园
首页
新随笔
联系
管理
订阅
2017年3月11日
[编织消息框架][设计协议]解决粘包半包(上)
摘要: 理论部分 网络传输是以流的方式传送,这时会出现意想不到的事 如:发送两个消息 共8byte byte[] messagea=new byte[4]; byte[] messageb=new byte[4]; byte[] messagea=new byte[4]; byte[] messageb=n
阅读全文
posted @ 2017-03-11 15:46 solq321
阅读(548)
评论(0)
推荐(0)
公告