-
WINSOCK服务器端示例程序说明 该程序是基于对话框编程的,是采用一对多的方式进行连接的。 整个程序主要由CServerDlg,CServerApp,CLis...
WINSOCK服务器端示例程序说明 该程序是基于对话框编程的,是采用一对多的方式进行连接的。 整个程序主要由CServerDlg,CServerApp,CListenSocket,CClientSocket构成的。 (所有关于类的说明在代码中有) 下面简单介绍一下程序流程: 主程序调用CListenSocket类的对象来进行对Socket的监听,当收到请求时调用主程序的函数来处理相应的连接,把Socket放进队列中。 对于Socket的接收数据和断开连接是由消息来触发的,是通过调用基类CSocket中的虚函数重载来处理的。 注:详细的过程,在程序代码中均有注释!-Winsock server sample program note that the procedure was based on dialog programming, using one-to-many is the way to connect. The entire process by CServerDlg, CServerApp, CListenSocket, constitute the CClientSocket. (All categories on the note in code) The following outlines procedures have : main program called CListenSocket category to the target of the listening socket, when the call request is received when the main program functions to the corresponding connections, socket into the queue. Socket for the reception of data and disconnected from the news to trigger, by calling the base class CSocket the virtual function to handle the heavy load. Note : Details of the procedure code have Notes!
- 2022-01-26 07:55:19下载
- 积分:1
-
Asp.net弹出对话框控件汉化修正版
一个很不错的代码
Asp.net弹出对话框控件汉化修正版
一个很不错的代码-Asp.net control pop-up dialog box sinicized amended version of a very good code
- 2023-08-21 15:50:04下载
- 积分:1
-
很多人都有过使用网络蚂蚁或网络快车软件下载互联网文件的经历,这些软件的使用可以大大加速互联网上文件的传输速度,减少文件传输的时间。这些软件为什么有如此大的魔力呢...
很多人都有过使用网络蚂蚁或网络快车软件下载互联网文件的经历,这些软件的使用可以大大加速互联网上文件的传输速度,减少文件传输的时间。这些软件为什么有如此大的魔力呢?其主要原因是这些软件都采用了多线程下载和断点续传技术。如果我们自己来编写一个类似这样的程序,也能够快速的在互联网上下载文件,那一定是非常愉快的事情。下面我就讲一讲如何利用C#语言编写一个支持多线程下载文件的程序,你会看到利用C#语言编写网络应程序是多么的容易,从中也能体会到C#语言中强大的网络功能。
-many people use the Internet, they had ants Network Express software or download files over the Internet experience, the use of such software can greatly speed up the documents on the Internet speeds, reduce file transfer time. These software Why is there so much magic? Its main reason is the software used to download and multithreading technology HTTP. If we prepare ourselves to a similar case in the process and to quickly download on the Internet, it must be a very pleasant thing. Now, I would talk about how to use C# language support for a multi-threaded download procedures, you will see the use of C# language network should procedure is how easy from can understand C# Language powerful networking capabilities.
- 2023-02-11 11:20:03下载
- 积分:1
-
Xinghao home decoration website source code, run the platform, ASP+ access
星浩家居装饰网站源码,运行平台ASP+acce-Xinghao home decoration website source code, run the platform, ASP+ access
- 2022-03-06 04:03:50下载
- 积分:1
-
FLASH source material
FLASH素材源码-打包流行时尚时装矢量 打包流行时尚时装矢量-FLASH source material-packaged vector fashion fashion packaged vector bundles vector fashion fashion fashion fashion packaged vector bundles fashion fashion Vector
- 2022-07-25 04:21:47下载
- 积分:1
-
经过编译的可以直接运行的很好的RTP学习代码
经过编译的可以直接运行的很好的RTP学习代码-After the compiler can directly run a very good learning RTP code
- 2022-08-10 19:56:48下载
- 积分:1
-
这个程序说明了用户的使用
This program illustrates the use of user-defined strut data types
A "Point" struct data type to represents cartesian coordinates
- 2023-06-15 14:45:03下载
- 积分:1
-
获取本机的外网IP和内网IP.内网IP很容易获取,直接调用gethostbyname(name)...
获取本机的外网IP和内网IP.内网IP很容易获取,直接调用gethostbyname(name)->h_addr_list就可以获取,但是外网IP还需要对一个提供显示当前外网IP的网页进行分析才可以获取,具体实现请参照代码.-Access to the machine outside the network and IP network IP. Within the IP network is easy to acquire, directly calls gethostbyname (name)-
- 2022-02-25 01:51:13下载
- 积分:1
-
Novell网络发送数据的实现
Novell网络发送数据的实现 -The implemention of sending data in Novell network
- 2022-07-15 08:36:38下载
- 积分:1
-
MFC,使用socket写的客户端聊天工具,可以多人同时聊天
MFC,使用socket写的客户端聊天工具,可以多人同时聊天-MFC, use the socket to write client-side chat tool, you can chat with people at the same time
- 2022-07-21 16:53:54下载
- 积分:1