-
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
-
基于一个手机短信发送平台,服务器使用IOCP线程池,数据库使用线程池保存数据,可以同时处理上千用户的数据,服务器每秒可以处理1000左右条短信...
基于一个手机短信发送平台,服务器使用IOCP线程池,数据库使用线程池保存数据,可以同时处理上千用户的数据,服务器每秒可以处理1000左右条短信-Send message based on a mobile phone platform, the server using IOCP thread pool, thread pool to use the database to preserve data, can handle thousands of user data, the server can handle per second 1000 article about message
- 2022-11-28 11:15:03下载
- 积分:1
-
用来判断你的当前运行在真实主机上还是虚拟主机上,可以用来判断是否蜜罐系统...
用来判断你的当前运行在真实主机上还是虚拟主机上,可以用来判断是否蜜罐系统-used to judge your current running on the mainframe in real or virtual host, can be used to determine whether the honeypot system
- 2023-09-07 20:10:03下载
- 积分:1
-
nio服务端代码
JDK1.4 提供的无阻塞 I/O(NIO)有效解决了多线程服务器存在的线程开销问题,但在使用上略显得复杂一些。许多基于 NIO 的多线程服务器程序往往直接基于选择器(Selector)的 Reactor 模式实现。这种简单的事件机制对于较复杂的服务器应用,显然缺乏扩展性和可维护性, 而且缺乏直观清晰的结构层次。本文将通过一个基于事件回调的 NIO 多线程服务器的设计,试图提供一个简洁、直观、易于扩展的 NIO 多线程服务器模型。
- 2022-02-16 06:36:06下载
- 积分:1
-
集留言反馈,客户资源,业务定单为一体,通过Jmail发送
集留言反馈,客户资源,业务定单为一体,通过Jmail发送 -Set voice feedback, customer resources, business orders for the integration, through this Jmail
- 2023-05-21 00:55:03下载
- 积分:1
-
一个基于UDP的聊天室程序,是学习网络编程的好资料。
一个基于UDP的聊天室程序,是学习网络编程的好资料。-a UDP-based chat room procedures, the study is a good network programming information.
- 2022-05-17 04:37:43下载
- 积分:1
-
插座
基于API的套接字编程,可以检测到服务器和当前客户机的IP地址和端口号,并接收客户端信息。-Socket-based API programming, can be detected by the current server and client IP address and port number, and receive client information.
- 2022-01-30 20:51:53下载
- 积分:1
-
revenue source SSL protocol, welcome to download, but only with learning! !
开源SSL协议源码,欢迎下载,但是仅供学习之用-revenue source SSL protocol, welcome to download, but only with learning! !
- 2022-12-30 09:25:09下载
- 积分:1
-
特别是,非
特别是非原始来源Winsock.NET压缩包的详细说明";note";word文档
- 2023-05-17 13:40:03下载
- 积分:1
-
ISAPI源代码 imgdbfrm
ISAPI源代码 imgdbfrm-ISAPI source code imgdbfrm
- 2022-05-19 12:37:05下载
- 积分:1