-
listctrl source class
listctrl source class
- 2022-12-11 00:55:03下载
- 积分:1
-
一个可让你轻易就能实现在视图下显示,操作地图的控件
一个可让你轻易就能实现在视图下显示,操作地图的控件-This an easy method for displaying, operating map, strongly recommended
- 2022-02-12 11:26:22下载
- 积分:1
-
Visual Basic for beginner
Visual Basic for beginner
- 2022-05-23 21:51:02下载
- 积分:1
-
液晶显示时间(源代码).
液晶显示时间(源代码).-LCD time (source code).
- 2022-12-11 13:40:03下载
- 积分:1
-
For people who likes switching systems
For people who likes switching systems
- 2022-04-22 23:56:34下载
- 积分:1
-
演示桌面动画的程序例子,适用于VB5。很好玩的
演示桌面动画的程序例子,适用于VB5。很好玩的-Desktop animation demo program example, applies to VB5. Very fun
- 2022-04-01 00:33:24下载
- 积分:1
-
转换到BIG5、BIG5国标GB
convert gb to big5 conver big5 to gb
- 2022-07-18 06:48:13下载
- 积分:1
-
多功能文本编辑器,没有使用MFC或API,完全是由自己构造的消息机制...
多功能文本编辑器,没有使用MFC或API,完全是由自己构造的消息机制-multi-functional text editor, to use MFC or API, is entirely constructed by the news their mechanism
- 2022-02-26 04:23:31下载
- 积分: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
-
程序说明一个用C语言编写制作的菜单程序
程序说明一个用C语言编写制作的菜单程序 -C language description of the procedures to compile and make available a menu of programs
- 2022-03-18 06:46:21下载
- 积分:1