?? cping.h
字號:
#ifndef __CPING_CLASS
#define __CPING_CLASS
#define MAX_SENDS 1111111
#define NOOP "NOOP"
typedef struct {
unsigned int iTimeSend;
unsigned int iTimeRecv;
unsigned int iTotalSent, iTotalRecvd;
unsigned int iPort;
} pingstore;
class CPing
{
public:
CPing();
~CPing();
char szNoop[256];
int iLastError, iTotalRes, iBytesToRecv;
unsigned int iTimeOut, iTotalSent, iTotalRecvd;
unsigned int PingContinuous (char* szHost, unsigned int iPort, unsigned int iPackets);
unsigned int PingConnective (char* szHost, unsigned int iPort, unsigned int iPackets);
pingstore* Res;
private:
WSADATA wsadata;
};
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -