摘要
本文对Windows平台下TCP/IP的编程接口Winsock的相关概念进行了阐述,介绍了套接字的分类和数据流式的套接字编程原理,分析了在Windows环境下利用Socket编程的机制,最后重点介绍了基于Winsock开发网络应用程序的方法。
In this paper, notion of TCP/IP programming interface Winsock in windows platform is introduced tirstly, and the classification of the Socket and the basic principle about connection-oriented Winsock programming are introduced secondly, the mechanism of using Socket to implement internet programming in windows environment is analyzed too. The method of internet application programming based on Winsock is elaborated in this paper finally.