-
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通信。实现六个线程的跑步比赛,通过内核对象event,实现线程的同步。...
采用多线程技术,利用socket通信。实现六个线程的跑步比赛,通过内核对象event,实现线程的同步。-Multi-threading technology, the use of socket communication. To achieve six threads running race through the kernel object event, to achieve thread synchronization.
- 2022-02-06 18:21:52下载
- 积分:1
-
使用Ras实现拨号管理
使用Ras实现拨号管理 -Using Ras to implement dail management
- 2022-01-25 20:49:08下载
- 积分:1
-
编译完了是一个基于串口PPP接入程序,用户拨号成功后,产生一个PPP服务进程,其他进程或内核可以向该进程发送数据包,在此基础上可以做数据链路加密的服务...
编译完了是一个基于串口PPP接入程序,用户拨号成功后,产生一个PPP服务进程,其他进程或内核可以向该进程发送数据包,在此基础上可以做数据链路加密的服务-end of a compiler based on the Serial PPP access, users dial-up after the success of PPP services have a process, or other processes to process core can send data packets, this can be done on the basis of data link encryption services
- 2022-08-15 05:13:19下载
- 积分:1
-
一个CAsyncSocket扩展类的例子。 实现了从指定的服务器和端口获得TCP数据流。不过现在可能程序中指定的服务器已经关闭了,不过代码还是可以看看的。...
一个CAsyncSocket扩展类的例子。 实现了从指定的服务器和端口获得TCP数据流。不过现在可能程序中指定的服务器已经关闭了,不过代码还是可以看看的。-An example of CAsyncSocket extended class implements the function to get TCP data stream from a dedicated server and port.Perhaps,the server using in code has been closed,but the code has some value to view.
- 2022-06-26 20:59:31下载
- 积分:1
-
消息队列开发,实现消息队列创建删除,发送回收
消息队列开发,实现消息队列创建删除,发送回收-Message Queue development, realize the creation of message queue delete, send recovery
- 2022-10-20 00:40:04下载
- 积分:1
-
活动目录的例子,可以参考:)
活动目录的例子,可以参考:)-Active Directory example, they can refer to :)
- 2022-09-01 16:15:03下载
- 积分:1
-
多进程并发服务器。该程序等候客户连接,一旦连接则显示客户的地址,接着接收该客户的名字并显示。然后接收来自该客户的信息(字符串)。每当收到一个字符串,则显示该字符...
多进程并发服务器。该程序等候客户连接,一旦连接则显示客户的地址,接着接收该客户的名字并显示。然后接收来自该客户的信息(字符串)。每当收到一个字符串,则显示该字符串,并将字符串反转,再将反转的字符发回客户。之后,继续等待接收该客户的信息直至该客户关闭连接。服务器具有同时处理多客户的能力。-more complicated process server. The procedure for connecting customers, once the connection is shown to the customer address, and then receive the customer"s name and display. Before receiving from the customer"s information (string). Whenever received a string, it shows that the string, the string will be inverted, and then reverse the characters back customers. Continue, after waiting for the customer to receive the information until the customer close the connection. Servers simultaneously with the ability to more customers.
- 2022-01-28 05:53:05下载
- 积分:1
-
This is c++ Access to online resources, examples, used to obtain weather forecas...
这是c++获取网上资源的例子,用来获取天气预报-This is c++ Access to online resources, examples, used to obtain weather forecasts
- 2023-01-31 21:45:04下载
- 积分:1
-
网上书店(源码与文档)后台管理:/manage
后台管理用户名:admin 密码:admin...
网上书店(源码与文档)后台管理:/manage
后台管理用户名:admin 密码:admin-Online Bookstore (source code and documentation) Admin:/manage Admin Username: admin Password: admin
- 2022-01-20 22:44:53下载
- 积分:1