UDP uses a simple transmission model with a minimum of protocol
mechanism. It has no handshaking dialogues, and thus exposes any
unreliability of the underlying network protocol to the user's
program. As this is normally IP over unreliable media, there is no
guarantee of delivery, ordering or duplicate protection. UDP provides
checksums for data integrity, and port numbers for addressing
different functions at the source and destination of the datagram.
对标题中的问题没有。在
是的!对问题中的问题。UDP数据包通常到达两次(而且是无序的)。在
维基百科说:
相关问题 更多 >
编程相关推荐