LosaDev source snapshot 2019
This commit is contained in:
commit
c198676e97
20588 files changed
+8812878
No files matched your search
@@ -0,0 +1,32 @@
|
||||
#pragma once
|
||||
|
||||
#include "ioCSocket.h"
|
||||
|
||||
class ioCSocketTCP : public ioCSocket
|
||||
{
|
||||
public:
|
||||
ioCSocketTCP();
|
||||
virtual ~ioCSocketTCP();
|
||||
|
||||
public:
|
||||
void Init();
|
||||
void Destroy();
|
||||
|
||||
public:
|
||||
BOOL Create();
|
||||
|
||||
BOOL Connect(const char *IP, int port);
|
||||
void Disconnect();
|
||||
|
||||
BOOL Send(const char *buffer, int length);
|
||||
BOOL Receive(char *buffer, int& length);
|
||||
|
||||
BOOL SetOptions();
|
||||
|
||||
public:
|
||||
BOOL CreateThread();
|
||||
void DestroyThread();
|
||||
bool m_bState;
|
||||
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user