-
This is the preparation of VC based TCP mailing acceptable to the application.
这是用VC++编写的基于TCP协议的邮件发送可接受的应用程序。-This is the preparation of VC based TCP mailing acceptable to the application.
- 2022-07-07 11:11:52下载
- 积分:1
-
一个功能比较完整的计算器,附带二进制转化(包含小数的转换)...
一个功能比较完整的计算器,附带二进制转化(包含小数的转换)-Complete a functional calculator, with a binary transformation (including decimal conversion)
- 2022-01-25 19:29:01下载
- 积分: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
-
用VB实现的计算器,功能丰富,关键一点是绝对能满足你提交VB作业的要求殴...
用VB实现的计算器,功能丰富,关键一点是绝对能满足你提交VB作业的要求殴-Using VB realize calculator, feature-rich, the key point is that you absolutely can satisfy the requirements of operation submitted by VB assault
- 2023-03-14 09:50:03下载
- 积分:1
-
DELPHI宿舍管理系统
DELPHI宿舍管理系统-quarters Delphi Management System
- 2022-01-25 22:29:42下载
- 积分:1
-
超常文本阅读器1.0forBBS.zip是一个用于bbs阅读的程序,在fterm界面下阅读长文本的文章翻页比较麻烦,使用此程序可以很好的解决这一问题...
超常文本阅读器1.0forBBS.zip是一个用于bbs阅读的程序,在fterm界面下阅读长文本的文章翻页比较麻烦,使用此程序可以很好的解决这一问题-extraordinary 1.0forBBS.zip text reader is reading a bulletin board for the procedure, the interface fterm reading long text of the article flip more trouble, the use of this procedure can be a good solution to this problem
- 2022-07-28 12:57:34下载
- 积分:1
-
Visual Basic 编写,桌面图标文字背景为透明色
Visual Basic 编写,桌面图标文字背景为透明色-Visual Basic preparation, desktop icon transparent text background color
- 2022-05-11 02:41:24下载
- 积分:1
-
mx27 f14v2 源代码。包括ADS板上诸多驱动的源码。
mx27 f14v2 源代码。包括ADS板上诸多驱动的源码。-mx27 f14v2 source code. ADS board, including many of the source drive.
- 2022-07-18 10:09:00下载
- 积分:1
-
mmc卡的 头文件 spi模式初始化 mmc卡和单片机通信的 头文件
mmc卡的 头文件 spi模式初始化 mmc卡和单片机通信的 头文件-mmc card spi mode initialization header files mmc card and microcontroller communication header files
- 2023-07-12 14:50:04下载
- 积分:1
-
字符编码的转换,可以支持GB2312,电脑,汉字,字符…
字符编码转换,可以支持gb2312、ASCll、汉字、字符之间的转换-Character encoding conversion, can support gb2312, ASCll, characters, character conversion between
- 2022-02-07 17:53:17下载
- 积分:1