文件名称:Winsock_API
- 所属分类:
- Internet/网络编程
- 资源属性:
- [Text]
- 上传时间:
- 2012-11-26
- 文件大小:
- 7kb
- 下载次数:
- 0次
- 提 供 者:
- yifa*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
本实例在介绍WinSocket API知识的基础上,定义了一个基于网络的类CNetworking ,并利用该类实现了网络通信的基本功能,消息数据的传送,具体请参见代码部分。用它可以发送、接收、连接、断开和获取对方端口各种不同的信息。该类的主要优点是完全将连接对象化,不需要窗口就可以处理网络消息,通过定义回调函数或事件即可,甚至连通知消息都可以不用。希望对正在开发网络应用程序的读者朋友有所帮助!-In introducing the example of knowledge WinSocket API, based on the definition of a Web-based category CNetworking, and take advantage of such a network to achieve the basic functions of communication, information data transmission, please refer to specific parts of the code. It can be used to send, receive, connect, disconnect and access to other information on a variety of ports. The main advantage of this kind is totally object will connect, and do not need a window on the network can handle the news, by defining a callback function or event can be, even the notification message can not. Hope is the development of Web applications readers help a friend!
(系统自动生成,下载前可以参看下载内容)
下载文件列表
基于Winsock API的VC网络编程实战.txt