搜索资源列表
一个判断远程主机存活程序代码
- 一个判断远程主机存活程序代码(ping) #include #include #include #include #include "winsock.h" #pragma comment(lib,"Ws2_32"); #define SEND_SIZE 32 #define PACKET_SIZE 4096 #define ICMP_ECHO 8 #define ICMP_ECHOREPLY 0 struct icmp {
socketudp
- 本程序通过udp协议的socket模拟window下面的ping程序,不需要socket连接,直接发送数据包,该数据包是通过struct自己定义的结构-This procedure simulated through socket udp protocol ping window following procedure does not require socket connections, sending packets directly to the data packet is defin
struct
- 1.一个跨平台的线程类 2.一个跨平台的Mutex 3.一组跨平台的容器(堆栈、单双链表、哈希表) 4.一个跨平台的socket 【OK】 5.一个简单高效的内存池 6.一个简单的XML解析器 7.一个安全高效的日志类 8.一个平台无关的File类和一个Dir类 9.一个时间日期类-(1) a cross-platform thread class. A cross-platform Mutex containe
okf077
- A line Cheng Chi classes, the use of the following is the basic method of struct TSession SOCKET SOCKET int id
