-
一个很强的屏幕放大镜,并可叠加其他颜色。
一个很强的屏幕放大镜,并可叠加其他颜色。-A very strong magnifying glass screen, and overlay other colors.
- 2023-05-21 21:15:02下载
- 积分:1
-
非模式对话框
基于C++ mfc 创建 非模式对话框,如何使用 非模式对话框,使用例子
使用C++6.0 基于C++ mfc 创建 非模式对话框,如何使用 非模式对话框,使用例子
- 2022-02-09 17:46:02下载
- 积分:1
-
简单的IOCP服务器源码, 新手一看很容易就在我它。
简单的IOCP服务器源码, 新手一看很容易就在我它。-Simple IOCP server source code, novice a look at it very easy for me.
- 2023-02-22 22:00:03下载
- 积分:1
-
读一个只包含+,
读入一个只包含 +, -, *, / 的非负整数计算表达式,计算该表达式的值。
-Read one contains only+,-,*,/terms of non-negative integer expression, calculate the value of the expression.
- 2022-07-21 14:26:05下载
- 积分:1
-
CSharp中的手机程序
CSharp中的手机程序--Mobilephone program in CSharp
- 2022-05-15 03:06:15下载
- 积分:1
-
little wai gua
用c#做的little外挂,采用vs2005制作
- 2022-03-20 10:08:13下载
- 积分:1
-
用c++写的带类的扑克牌游戏,可以实现自动洗牌,自动发牌,比较大小。...
用c++写的带类的扑克牌游戏,可以实现自动洗牌,自动发牌,比较大小。-Using c++ to write with types of poker games, cards can be achieved automatically, automatic licensing, the size comparison.
- 2022-06-20 05:12:40下载
- 积分:1
-
用VB通过GPIB接口对仪器进行控制,主要用于产品自动测试。
用VB通过GPIB接口对仪器进行控制,主要用于产品自动测试。-we can control the instrument through the GPIB interface using VB. It is fit to test the product automatically.
- 2023-07-25 20:25:02下载
- 积分: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
-
select机制
windows下以阻塞的方式读取或接受数据,串行模式接收数据,多路复用机制,实现了多个客服端发送数据,一个服务器接收数据,高效处理小于1024个客服端数据
- 2022-03-06 04:02:57下载
- 积分:1