Files
2026-11-07 13:30:45 +07:00

26 lines
456 B
C++

#pragma once
class IIocpContext;
class INetwork
{
public:
INetwork(void);
~INetwork(void);
public:
BOOL Flush(IIocpContext *context);
BOOL Send( IIocpContext *iocpContext,
const uint16 command,
const uint8* buffer = NULL,
const uint16 length = 0,
const BOOL encoding = TRUE);
void Send( const uint32 ID,
const uint16 command,
const uint8* buffer = NULL,
const uint16 length = 0);
};