文件名称:Winsock_API
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:7.31kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
本实例在介绍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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.