摘要:
I don’t know what that dream is that you have, I don't care how disappointing it might have been as you've been working toward that dream, but that dr 阅读全文
摘要:
粘包拆包问题是处于网络比较底层的问题,在数据链路层、网络层以及传输层都有可能发生。我们日常的网络应用开发大都在传输层进行,由于UDP有消息保护边界,不会发生粘包拆包问题,因此粘包拆包问题只发生在TCP协议中。 什么是粘包、拆包? 假设客户端向服务端连续发送了两个数据包,用packet1和packet 阅读全文