摘要
SIP协议已逐步成为下一代网络(NGN)的多媒体软交换系统和第三代移动通信(3G)多媒体子系统域中的重要协议。本文根据Winsock的编程原理,即客户机-服务器的通信模式,采用流套接字编程,运用面向对象的方法分析了SIP协议,详细地描述了SIP协议基本呼叫建立的C++实现过程,供读者参考。
SIP gradually becomes the important protocol in the multimedia Softswitch system and 3G multimedia subsystem area of the next generation network (NGN). This paper mainly describes the C++ implementation process of the basic call establishment of SIP protocol, based on the Winsock program theory which is the communications mode named client-server, and by the use of the stream sockets program and the object-oriented method.