首页 | 本学科首页   官方微博 | 高级检索  
     

基于TCP/IP协议多客户连接的服务端程序实现
引用本文:孙桂斌.基于TCP/IP协议多客户连接的服务端程序实现[J].电脑编程技巧与维护,2009(20):83-85.
作者姓名:孙桂斌
作者单位:解放军信息工程大学,郑州,450002
摘    要:介绍了C/S架构中普遍采用的TCP/IP协议,以及运用该协议进行数据传输的网络通信机制,讨论了利用SOCKET套接字实现TCP传输控制协议的编程机理,重点剖析在VC++开发平台上使用WinSocket API实现Socket套接字的系统调用方法,从而成功实现了基于TCP/IP协议的、多客户连接的服务器端程序的开发。

关 键 词:C/S架构  SOCKET  VC++  传输控制协议(TCP)

The Realization of Server Program with Multiple Client Connection Based on TCP/IP
SUN Guibin.The Realization of Server Program with Multiple Client Connection Based on TCP/IP[J].Computer Programming Skills & Maintenance,2009(20):83-85.
Authors:SUN Guibin
Affiliation:SUN Guibin (Information Engineering University of PLA, Zhenzhou 450002)
Abstract:This paper presents the TCP/IP protocol which is most commonly used in the C/S architecture, and the network communication mechanism of the data transmission, discusses the programming mechanism of realizing TCP using SOCKET, mainly analyses the system transferring method of how to realize Socket using WinSocket API on the VC++ development platform, thereby successfully realizes the server program with multiple client connection based on TCP/IP.
Keywords:SOCKET  VC++
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号