13 #ifndef _INetworkChannel_h 14 #define _INetworkChannel_h 36 interface INetworkChannel :
public IBaseClass
54 virtual bool Initialize(
void)=0;
66 virtual bool Connect(
unsigned char *puchIPAddress,
67 unsigned short usPortID)=0;
78 virtual bool Close(
void)=0;
100 virtual unsigned short GetPort(
void)=0;
virtual unsigned short GetPort(void)=0
virtual bool IsConnected(void)=0
virtual bool IsOpened(void)=0
virtual unsigned int GetSocket(void)=0
virtual bool Connect(unsigned char *puchIPAddress, unsigned short usPortID)=0
virtual bool Close(void)=0