摘要
TCP和UDP是传输层的两个重要协议。与TCP相比,UDP协议控制简单,用户数据首部开销小,网络出现拥塞时不会降低发送端的发送速率,所以UDP是一种非常有效的工作方式。但由于UDP是面向无连接的协议,在传输层上无法实现数据的可靠传输,通过在应用层上进行可靠性控制,模拟TCP协议的接收确认和超时重发机制,实现了UDP协议下可靠的信息传输功能。
TCP and UDP are two important protocol of transport layer.Compares with TCP,the UDP protocol control simple,the user datagram first expenses are small,the network presents when the jam will not reduce the transmitting end the transmission speed,therefore UDP will be one very effective working.But because UDP is faces on the connectionless agreement,therefore is unable on the transmission level to realize the data reliable transmission,the author through carries on the reliable control on the application layer,imitates the TCP protocol the receive confirmation and the overtime reproduction mechanism,has realized under the UDP protocal the reliable intelligence transmission function.
出处
《电脑开发与应用》
2011年第12期11-12,共2页
Computer Development & Applications
关键词
UDP协议
可靠传输
接收确认
超时重发
UDP protocol
Reliable transmission
Receive confirmation
Overtime reproduction