43 #ifndef __PASSIVESOCKET_H__ 44 #define __PASSIVESOCKET_H__ 45 #include "ActiveSocket.h" 88 bool BindMulticast(
const char *pInterface,
const char *pGroup, uint16_t nPort);
101 virtual bool Listen(
const char *pAddr, uint16_t nPort, int32_t nConnectionBacklog = 30000);
115 virtual int32_t
Send(
const uint8_t *pBuf,
size_t bytesToSend);
118 struct ip_mreq m_stMulticastRequest;
124 #endif // __PASSIVESOCKET_H__ Definition: ActiveSocket.h:48
bool BindMulticast(const char *pInterface, const char *pGroup, uint16_t nPort)
Definition: PassiveSocket.cpp:52
CSocketType
Defines the socket types defined by CSimpleSocket class.
Definition: SimpleSocket.h:125
Definition: SimpleSocket.h:114
virtual CActiveSocket * Accept(void)
Definition: PassiveSocket.cpp:221
virtual bool Close(void)
Definition: SimpleSocket.cpp:490
Defines socket as TCP socket.
Definition: SimpleSocket.h:128
Definition: PassiveSocket.h:58
virtual int32_t Send(const uint8_t *pBuf, size_t bytesToSend)
Definition: PassiveSocket.cpp:295
virtual bool Listen(const char *pAddr, uint16_t nPort, int32_t nConnectionBacklog=30000)
Definition: PassiveSocket.cpp:134
Definition: ActiveSocket.h:56