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

基于Win32平台下Winsock API的网络编程
引用本文:卢惠林,徐百垠,蔡德君. 基于Win32平台下Winsock API的网络编程[J]. 哈尔滨商业大学学报(自然科学版), 2002, 18(4): 422-424
作者姓名:卢惠林  徐百垠  蔡德君
作者单位:1. 黑龙江省计算中心,黑龙江,哈尔滨,150001
2. 哈尔滨师范大学,黑龙江,哈尔滨,150001
3. 黑龙江省工商银行,黑龙江,哈尔滨,150001
摘    要:阐述了利用WinsockAPI设计基于Win32平台下的网络应用程序的方法。说明了TCP/IP协议和Winsock API之间的关系。实现Winsock API必须支持TCP或UDP协议类型的套接字,给出了用于TCP器服务器端网络的一般设计步骤,初始化WinsockDLL创建安全套接字,地址绑定,创建一个监听队列,给出了一个在于C/S结构的风格应用程序设计的简单实例。

关 键 词:Winsock应用程序接口  TCP/IP协议  安全套接字  网络应用程序
文章编号:1004(1842(2002)04-0422-03
修稿时间:2002-05-18

Study on network programming for Winsock API based on Win32
LU Hui-lin ,XU Bai-yin ,CAI De-jun. Study on network programming for Winsock API based on Win32[J]. Journal of Harbin University of Commerce :Natural Sciences Edition, 2002, 18(4): 422-424
Authors:LU Hui-lin   XU Bai-yin   CAI De-jun
Affiliation:LU Hui-lin 1,XU Bai-yin 2,CAI De-jun 3
Abstract:Demonstrates how to use the Windows Sockets (Winsock)Application Programming Interface(API) to design network programming for win32.Expatiating the relatationof TCP/IP protocol and Winsock API.Windows Sockets implementations must support both TCP and UDP type sockets.The genral process of designing network programming on TCP server include:initializing Winsock DLL,creating a socket,binding a socket on address,creating a listen queue.A simpleness example of designing network programming based on C/S was presented.
Keywords:Winsock API  TCP/IP  socket  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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