43 #ifndef __ACTIVESOCKET_H__ 44 #define __ACTIVESOCKET_H__ 46 #include "SimpleSocket.h" 73 virtual bool Open(
const char *pAddr, uint16_t nPort);
78 bool ConnectTCP(
const char *pAddr, uint16_t nPort);
82 bool ConnectUDP(
const char *pAddr, uint16_t nPort);
86 bool ConnectRAW(
const char *pAddr, uint16_t nPort);
89 struct hostent *m_pHE;
Definition: ActiveSocket.h:48
CSocketType
Defines the socket types defined by CSimpleSocket class.
Definition: SimpleSocket.h:125
virtual bool Open(const char *pAddr, uint16_t nPort)
Definition: ActiveSocket.cpp:256
Definition: SimpleSocket.h:114
virtual bool Close(void)
Definition: SimpleSocket.cpp:490
Defines socket as TCP socket.
Definition: SimpleSocket.h:128
Definition: PassiveSocket.h:58
Definition: ActiveSocket.h:56