28 #ifndef __CASOCKETGROUP__
29 #define __CASOCKETGROUP__
59 #pragma warning(disable : 4127)
64 m_pollfd[s].revents = 0;
80 if (
m_max < (sock) + 1)
83 #pragma warning( push )
84 #pragma warning( disable : 4127 )
86 #pragma warning( pop )
88 m_pollfd[sock].fd=sock;
89 m_pollfd[sock].revents=0;
106 #pragma warning( push )
107 #pragma warning( disable : 4127 )
109 #pragma warning( pop )
112 m_pollfd[sock].fd=sock;
113 m_pollfd[sock].revents=0;
132 return m_pollfd[s.
getSocket()].revents!=0;
141 return m_pollfd[ps->
getSocket()].revents!=0;
150 return m_pollfd[s.
getSocket()].revents!=0;
163 volatile struct pollfd* m_pollfd;
SINT32 add(CAMuxSocket &s)
bool isSignaled(CAMuxSocket &s)
SINT32 setPoolForWrite(bool bWrite)
bool isSignaled(CASocket &s)
bool isSignaled(CASocket *ps)
SINT32 remove(CASocket &s)
CASocketGroup(bool bWrite)
SOCKET getSocket()
Returns the number of the Socket used.