Home > Back-end > QT UDP each receive 65536 16 to the power of (2) you lost a bag, bag is what reason, how to solve?
QT UDP each receive 65536 16 to the power of (2) you lost a bag, bag is what reason, how to solve?
Time:10-02
QT using QUdpSocket udp packet reception and found an amazing phenomenon, each receiving 65536 16 to the power of (2) a bag will throw a bag (2), by changing the contract rate, udp, suggesting that this bug is not because performance bottlenecks caused by (note: contract is uniform)
Don't know what other platforms when using udp c + + language have the same problem? If so, please help solve, thank you!
CodePudding user response:
Udp is not reliable transmission, packet loss is not very normal? You are asking very rule?
CodePudding user response:
Udp is inherently unreliable, reliable udp use udt