You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
394 B
C++

#pragma once
#ifndef _INCLUDE_COREWORK_TESTSKT_H
#define _INCLUDE_COREWORK_TESTSKT_H
#include "sysapi.h"
class CTestSkt
{
public:
CTestSkt(void);
~CTestSkt(void);
int Init(const char* pszip, int port);
int Send(const char* msg, char* res = 0);
int Recv(char* res, const char* key/* = 0*/, int timeout/* = 0*/);
protected:
void Deinit();
private:
};
#endif //防止重复包含