We're sorry but rendepage doesn't work properly without JavaScript enabled. Please enable it to continue.
web
|
Java
UDP如何保证顺序传播
千锋教育
UDP 是无顺序的,先发的包不一定会先到,所以最好还是自己在协议中增加包的编号。
接收处理时,按无序的逻辑进行,这样就能正常完成数据的接收。