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.

32 lines
423 B
C++

#include "testskt.h"
#include "log.h"
#include "sysapi.h"
CTestSkt::CTestSkt(void)
{
}
CTestSkt::~CTestSkt(void)
{
}
int CTestSkt::Init(const char* pszip, int port)
{
return 0;
}
int CTestSkt::Send(const char* msg, char* res)
{
return ERR_INPUT_PARAM;
}
int CTestSkt::Recv(char* res, const char* key/* = 0*/, int timeout/* = 0*/)
{
RETURN_CHK_NOPRT(res, ERR_INPUT_PARAM);
return ERR_INPUT_PARAM;
}