-
一个关于字符串匹配的算法,已经经过编译,希望对你有帮助...
一个关于字符串匹配的算法,已经经过编译,希望对你有帮助-on a string matching algorithm, has been built, want to help you
- 2022-07-01 14:15:33下载
- 积分: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
-
wince音频驱动(WM8753)绝对可用,
wince音频驱动(WM8753)绝对可用,-wince audio driver (WM8753) is absolutely available,
- 2022-03-14 20:57:27下载
- 积分:1
-
捕获所有IP包1
捕获所有IP包1-capture an all IP packets
- 2022-12-16 07:15:03下载
- 积分:1
-
左面小精灵源程序,自己做来给老婆玩的,贡献出来大家开心
左面小精灵源程序,自己做来给老婆玩的,贡献出来大家开心-source elves left their wives to do to play, you have contributed happy
- 2022-09-19 09:25:04下载
- 积分:1
-
自动获取webshell的代码,适合中级人员学习参考
自动获取webshell的代码,适合中级人员学习参考-Obtain the webshell code automatically and fit the senior people to use as reference.
- 2022-06-20 23:51:14下载
- 积分:1
-
windows LCD RGB test tool
应用背景关于LCD RGB的测试软件,在windows 8或以上 tablet test中能够直接使用关键技术循环播放颜色,可以人工判断测试Pass还是Fail
- 2023-02-06 03:25:03下载
- 积分:1
-
EVC Programming Microsoft Windows CE Dot N ET Code : main elements : a total of...
EVC Programming Microsoft Windows CE Dot NET 代码:
主要内容:
一共23章,EVC下编程源代码-EVC Programming Microsoft Windows CE Dot N ET Code : main elements : a total of 23 chapters under EVC programming source code
- 2022-08-06 13:28:42下载
- 积分:1
-
地图曲线的分形插值源码
地图曲线的分形插值源码-map of the fractal curve interpolation FOSS
- 2023-03-22 07:35:03下载
- 积分:1
-
易语言制作的百度歌曲采集器 目前只完成了歌名和专辑的采集 主要采用文本分割的方法实现 我的习作...
易语言制作的百度歌曲采集器 目前只完成了歌名和专辑的采集 主要采用文本分割的方法实现 我的习作-Yi language song collector of Baidu achieve only the title and album of the collection division of the main text of the methods used to achieve my exercises
- 2022-02-10 01:51:26下载
- 积分:1