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

运用Winsock构建基于C/S模式的网络通信
引用本文:李林静,叶冬芬.运用Winsock构建基于C/S模式的网络通信[J].计算机工程与科学,2009,31(2).
作者姓名:李林静  叶冬芬
作者单位:衢州学院信电系,浙江,衢州,324000
摘    要:本文介绍在Internet平台下Winsock网络编程接口的原理,分析了运用Winsock实现C/S模式通信的过程,建立了面向连接的Winsock网络通信框架,对C/S模式中的服务器转发功能进行了探讨,最后用Winsock实现了多个客户之间会晤的一个聊天程序,并对关键性代码进行了研究。

关 键 词:Winsock  有效地址  C/S  通信框架

Implementation of Network Communications Based on the C/S Construction in Winsock ActiveX
LI Lin-jing,YE Dong-fen.Implementation of Network Communications Based on the C/S Construction in Winsock ActiveX[J].Computer Engineering & Science,2009,31(2).
Authors:LI Lin-jing  YE Dong-fen
Affiliation:Department of Information and Electrical Engineering;Quzhou College;Quzhou 324000;China
Abstract:The paper introduces the basic principle of the Winsock application programming interface,analyses the communications process based on the c/s network system in Winsock ActiveX, establishes the Winsock ActiveX communications framework based on the TCP connection, explores the server’s transmision function based on the c/s network system ,and finally implements a chat instance between several clients in Winsock ActiveX,provides and studies its key code.
Keywords:Winsock  C/S
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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