摘要
UDP是OSI参考模型中一种无连接的传输层协议,它提供了简单不可靠的信息传送服务。由于UDP比较简单,UDP头包含很少的字节,所以它在速度方面有很大优势。很多常用的即时通软件,如QQ程序,都会使用UDP实现很多基本功能。Java语言是当今流行的网络编程语言,它的API封装了UDP编程的类,用来实现UDP聊天程序很容易。
UDP is the OSI connectionless transport protocol, it provides simple unreliable transport services. Because its simpleness, UDP header consists of a few fields, so it has a high speed and abstract network traffic. Many pop instant messaging program uses UDP, for example QQ. Java is a pop network programming language, its API encapsulates the classes based on UDP, it's easy to write a chat program.
出处
《电脑编程技巧与维护》
2009年第14期31-32,共2页
Computer Programming Skills & Maintenance