-
编程网址地址集合
编程网址地址集合-programming website address pool
- 2023-08-06 05:20:03下载
- 积分:1
-
字体下拉框控件
字体下拉框控件,获取系统字体,在下拉框中显示,有多种样式可选,只显示名称,显示名称和样式,以及前后顺序可自定义。对于下拉框的扩展。
- 2022-08-16 07:46:51下载
- 积分:1
-
VB编写的模拟钢琴源程序
VB编写的模拟钢琴源程序-VB prepared by the simulation source Piano
- 2023-08-15 16:50:03下载
- 积分:1
-
保存设置
这是简单 C# 程序用于保存"Setting.ini"文件中的设置。"Setting.ini"文件是创建在应用程序的位置。
- 2023-04-13 10:00:04下载
- 积分:1
-
labview树形控件的使用,树形控件内容添加和显示
labview树形控件的使用,树形控件内容添加和显示-LabVIEW controls the use of tree, tree controls to add and display content
- 2022-02-09 21:44:31下载
- 积分:1
-
这是一本关于多线程编程的教科书。这本书的目的
This a textbook on multithreaded programming. The objective of this book
is to teach students about languages and libraries for multithreaded programming,
to help students develop problem-solving and programming skills, and to
describe and demonstrate various testing and debugging techniques that have been
developed for multithreaded programs over the past 20 years.-This is a textbook on multithreaded programming. The objective of this book
is to teach students about languages and libraries for multithreaded programming,
to help students develop problem-solving and programming skills, and to
describe and demonstrate various testing and debugging techniques that have been
developed for multithreaded programs over the past 20 years.
- 2022-02-15 09:56:47下载
- 积分: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
-
一个简单的FTP客户器
一个简单的FTP客户器-a simple FTP client device
- 2022-02-04 22:51:51下载
- 积分:1
-
aSysTeam进销存管理系统(含源代码) 1.0
aSysTeam进销存管理系统(含源代码) 1.0-aSysTeam inventory management system (including source code) 1.0
- 2022-03-19 06:39:06下载
- 积分:1
-
本文档详细的介绍了在windowsce下的编程方法以及示例。对学习CE的人有帮助。...
本文档详细的介绍了在windowsce下的编程方法以及示例。对学习CE的人有帮助。-this document described in detail in the windowsce programming methods and examples. On learning of CE help.
- 2022-07-14 02:04:04下载
- 积分:1