-
driver, compatible with NE2
驱动程序,兼容NE2-driver, compatible with NE2
- 2022-11-09 01:20:03下载
- 积分:1
-
flex 地图卷动,转发的源码
flex 地图卷动,转发的源码-flex map scrolling
- 2022-07-08 07:39:08下载
- 积分:1
-
一个超快搜索的算法源码.
searchi = search ignore case
search = search case sensitive
s...
一个超快搜索的算法源码.
searchi = search ignore case
search = search case sensitive
searchiw = search ignore case words only (e.g. words delimited by whitespace only,not words within words)
searchw() = search case sensitive words only-An ultra-fast search algorithm source code. Searchi = search ignore casesearch = search case sensitivesearchiw = search ignore case words only (eg words delimited by whitespace only, not words within words) searchw () = search case sensitive words only
- 2022-02-03 09:46:23下载
- 积分:1
-
详细的介绍了windows环境的API函数的用法
详细的介绍了windows环境的API函数的用法-detailed account of the windows environment API usage
- 2022-08-09 01:35:40下载
- 积分:1
-
本件能够使得你的应用程序同时只能运行一个
本件能够使得你的应用程序同时只能运行一个-Only 1 instance of your application can run in the same time
- 2022-01-31 00:12:00下载
- 积分:1
-
一个简单的视频SDK,你们也看看 提提意见哦
一个简单的视频SDK,你们也看看 提提意见哦 -A simple video SDK, you also make a suggestion to see Oh
- 2022-03-03 16:19:40下载
- 积分:1
-
水声信号的处理水下机器人对目标的定位并提供反馈信息
水声信号的处理水下机器人对目标的定位并提供反馈信息- deal of the sound of water,underwater robot locate the postion and information feedback.
- 2022-09-27 10:45:03下载
- 积分:1
-
turb disk XP 和具有同样的功能
turb disk XP 和具有同样的功能-turb disk XP and have the same functionality
- 2022-05-09 10:26:32下载
- 积分: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
-
一个MHP 应用程序,回答问题应用,需要MHP模拟器运行
一个MHP 应用程序,回答问题应用,需要MHP模拟器运行-an MHP application, answer questions applications, the need MHP simulator
- 2022-08-22 18:28:51下载
- 积分:1