-
项目代码。原名为棉阳冲击
系统测试用的。・
项目代码。原名为棉阳冲击
系统测试用的。・-item code. It was originally called Cotton Yang impact of system testing.
- 2022-02-04 09:17:17下载
- 积分:1
-
这是一个用来实现找鞍点的程序,最后输出鞍点所在的横坐标和纵坐标...
这是一个用来实现找鞍点的程序,最后输出鞍点所在的横坐标和纵坐标-Used to realize this is a saddle point finding procedure, the final output saddle point where the abscissa and ordinate
- 2022-08-22 14:41:44下载
- 积分:1
-
这些源码供MFC初学者使用,因为我自己也在学习MFC。
这些源码供MFC初学者使用,因为我自己也在学习MFC。-These demos are used for MFC beginners, for I am studying MFC.
- 2022-05-26 11:10:52下载
- 积分:1
-
简单的TCP聊天室,仅限于局域网聊天。MFC版本
简单的TCP聊天室,仅限于局域网聊天。MFC版本-TCPChatRoom
- 2023-03-17 18:05:04下载
- 积分:1
-
本程序为一个用Delphi开发的定时关机的示例
本程序为一个用Delphi开发的定时关机的示例-the procedures used for a regular Delphi shutdown example
- 2022-03-10 01:17:35下载
- 积分:1
-
在状态条中显示进度条
在状态条中显示进度条-the state of progress of the show
- 2022-03-03 21:23:47下载
- 积分:1
-
这是一个用开发的的多线程类只要加入工程可以非常方便的使用...
这是一个用开发的的多线程类只要加入工程可以非常方便的使用-This is a development of the use of multithreading to the project as long as the class is very convenient to use
- 2022-03-31 07:36:11下载
- 积分:1
-
一个线程池的一个类,基本使用如下:
一个线程驰的类, 下面的是基本的使用方法 struct TSession { SOCKET socket int id } class myIocp:public CIOCP { public: void OnRead(void * p, char * buf, int len) void OnAccept(SOCKET socket) void OnClose(void * p) } void myIocp::OnAccept(SOCKET socket) { TSession *s = new TSession s->socket = socket //这里可以对连接的session进行自己的操作,例如给id找一个唯一的值 SetIoCompletionPort(socket, s) // 使连接socket与一个自定义结构体关联 } void myIocp::OnRead(void * p, char * buf, int len) { TSession *s = (TSession *)p send(s->socket, buf, len, 0) // 这里只是简单的把收到的消息返回给客户端 ... } void myIocp::OnClose(void * p) { delete p } myIoncp iocp main() { ... iocp.listen(4311) // 开始监听网络端口,等待客户端连接 ... }-A class for thread pool,basic usage below:
struct TSession { SOCKET socket int id } class myIocp:public CIOCP
{ public:
void OnRead(void* p, char* buf, int len)
void OnAccept(SOCKET socket)
void OnClose(void* p) }
void myIocp::OnAccept(SOCKET socket)
{ TSession*s = new TSession s->socket = socket
//here you can do something about connecti
- 2022-07-17 05:14:52下载
- 积分:1
-
实现自动扫雷的小程序... .
实现自动扫雷的小程序... .
-Automatically mine a small program ... ....
- 2022-05-20 23:26:48下载
- 积分:1
-
a simple multi
一个简单的多层次成绩管理模型-a simple multi-level performance management model
- 2023-08-11 15:00:03下载
- 积分:1