-
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
-
socket to receive the concrete realization of the code, test the connection usin...
socket 接收代码的具体实现,测试连接时使用-socket to receive the concrete realization of the code, test the connection using
- 2022-07-23 07:46:11下载
- 积分:1
-
用VC开发的网络语音电话,希望对您的开发有所帮助。
用VC开发的网络语音电话,希望对您的开发有所帮助。-VC network with the development of voice calls, and they hope to be helpful to your development.
- 2022-03-21 07:38:27下载
- 积分:1
-
FLASH source material
FLASH素材源码-木匠人物 木匠人物 木匠人物 木匠人物 -FLASH source material-carpenter figures figures carpenter carpenter figures figures carpenter carpenter figures figures carpenter carpenter figures figures carpenter carpenter figures carpenter figures
- 2023-05-23 05:35:03下载
- 积分:1
-
端口扫描是一种指定单个端口或多个端口的地址的权利…
端口扫描是一个能够对指定IP地址的单个端口或者多个端口进行扫描的程序;
-port scan is a right to specify the IP addresses of individual ports or multiple port scanning procedures;
- 2022-08-04 08:59:32下载
- 积分:1
-
SMTP邮件客户端程序
SMTP邮件客户端程序-SMTP mail client program
- 2023-06-12 06:40:03下载
- 积分:1
-
网络文件拷贝动态连接库 实现共享文件夹和FTP文件夹拷贝
网络文件拷贝动态连接库 实现共享文件夹和FTP文件夹拷贝-network file copy DLL shared folders and folders to copy FTP
- 2022-03-20 01:31:40下载
- 积分:1
-
(利用GIF_LZW算法实现的)网络图片传输 技术特点 ~~~~~~~~ 一、使用TCP协议传输数据。理由:稳定性好。 二、使用字节数据流进行传输,理由: A:
(利用GIF_LZW算法实现的)网络图片传输 技术特点 ~~~~~~~~ 一、使用TCP协议传输数据。理由:稳定性好。 二、使用字节数据流进行传输,理由: A:VB的String存在自动Unicode转换问题,影响速度; B:可以直接发送8位字节数据,不需要使用Base64编码,从而减少了编码时间。 三、使用GIF-LZW压缩算法压缩图像。理由: A:行程编码、Huffman压缩算法压缩率太低; B:JPEG压缩算法需要太多位运算,且运算量大(有专门MMX优化算法),不利于VB实现; C:GIF-LZW压缩算法压缩率较好,且我已想出VB语法下高效GIF-LZW压缩/解压算法。 四、使用“有序抖动”算法进行 色彩量化。理由:“有序抖动”处理的结果具有一定规律性,有助于LZW类算法压缩。-(using GIF_LZW algorithm) picture transmission network ~~~~~~~~ a technical features, the use of TCP to transmit data. Reason : good stability. Two, the use of byte data stream for transmission, reasons : A : VB String exist automatically Unicode conversion, the impact speed; B : can directly send eight bytes of data and do not need to use Base64 encoding, thereby reducing the coding time. 3, the use of GIF- LZW compression algorithm for image compression. Reason : A : itinerary coding, Huffman compression algorithm compression rate is too low; B : JPEG compression algorithm needs much-bit computing, and large amount of computation (with MMX spe
- 2022-05-19 18:52:33下载
- 积分:1
-
可以检测网络状态,包挂是否伤亡,打开生么网址很好
可以检测网络状态,包挂是否伤亡,打开生么网址很好-can detect network state, linking packet casualties, the website opened Mody good health
- 2023-06-18 18:50:03下载
- 积分:1
-
一个简单的UDP数据接收发送程序
一个简单的UDP数据接收发送程序-a simple send UDP data reception procedures
- 2022-02-06 14:57:13下载
- 积分:1