-
功能:计算两个time_t时间的差,返回值为double类型的秒
功能:计算两个time_t时间的差,返回值为double类型的秒-functions : two time_t terms of the time difference, return value to the type of double seconds
- 2022-02-01 22:46:42下载
- 积分:1
-
用来监控系统进程,如出现预定义拦截进程,则终止进程。通过ini文件载入拦截进程名,压缩文件中已带有一个事例ini文件...
用来监控系统进程,如出现预定义拦截进程,则终止进程。通过ini文件载入拦截进程名,压缩文件中已带有一个事例ini文件-Used to monitor system processes, where there is a predefined block the process, then terminate the process. Ini file loading process by blocking the name of the file has been compressed with an example ini file
- 2022-02-09 23:27:42下载
- 积分:1
-
CCITT G4编解码源用于传真机使用开发环境下实现的。
VC环境下的CCITT G4编码解码源程序,用于传真机开发使用。-VC environment under the CCITT G4 codec source for the development of fax use.
- 2022-01-30 13:25:39下载
- 积分:1
-
AccountServer
AccountServer
- 2023-05-28 03:40:02下载
- 积分:1
-
记录键盘的每次按键,保存在一个指定的文本文件中。
记录键盘的每次按键,保存在一个指定的文本文件中。-Records of each keyboard key, stored in a specified text file.
- 2022-07-04 09:07:16下载
- 积分: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
-
可以方便的进行三次以内方幂求和公式的自动推导 此代码为独创...
可以方便的进行三次以内方幂求和公式的自动推导 此代码为独创-Can easily be a power of less than three times the automatic derivation of the summation formula for the original code
- 2022-08-22 03:01:03下载
- 积分:1
-
VB database management
VB对数据库的管理-VB database management
- 2022-01-25 15:17:29下载
- 积分:1
-
无
æ— -no
- 2022-01-22 05:23:29下载
- 积分:1
-
CICS程序之间切换不同的变换编码
汉字内码的转换,各种编码之间变换-CICS code switching between various Transform Coding
- 2022-01-22 06:39:18下载
- 积分:1