ReactOS 0.4.16-dev-814-g656a5dc
|
#include <socket.h>
Public Member Functions | |
CServerSocket () | |
virtual | ~CServerSocket () |
virtual VOID | SetPort (UINT nPort) |
virtual VOID | Open () |
virtual VOID | Close () |
virtual LPCServerClientSocket | OnGetSocket (LPCServerSocket lpServerSocket) |
virtual LPCServerClientThread | OnGetThread (LPCServerClientSocket lpSocket) |
virtual VOID | OnAccept (LPCServerClientThread lpThread) |
virtual VOID | MessageLoop () |
VOID | InsertClient (LPCServerClientThread lpClient) |
VOID | RemoveClient (LPCServerClientThread lpClient) |
![]() | |
CSocket () | |
virtual | ~CSocket () |
virtual SOCKET | GetSocket () |
virtual VOID | SetSocket (SOCKET socket) |
virtual SOCKADDR_IN | GetSockAddrIn () |
virtual VOID | SetSockAddrIn (SOCKADDR_IN sockaddrin) |
virtual VOID | SetEvents (LONG lEvents) |
virtual LONG | GetEvents () |
virtual VOID | SetPort (UINT nPort) |
virtual VOID | Open () |
virtual VOID | Close () |
virtual INT | Transmit (LPCSTR lpsBuffer, UINT nLength) |
virtual INT | Receive (LPSTR lpsBuffer, UINT nLength) |
virtual INT | SendText (LPCSTR lpsStr) |
Protected Attributes | |
CList< LPCServerClientThread > | Connections |
![]() | |
SOCKET | Socket |
SOCKADDR_IN | SockAddrIn |
WSAEVENT | Event |
UINT | Port |
BOOL | Active |
CServerSocket::CServerSocket | ( | ) |
Definition at line 171 of file socket.cpp.
|
virtual |
Definition at line 176 of file socket.cpp.
|
virtual |
Reimplemented from CSocket.
Definition at line 212 of file socket.cpp.
Referenced by CHttpDaemon::Stop(), and ~CServerSocket().
VOID CServerSocket::InsertClient | ( | LPCServerClientThread | lpClient | ) |
Definition at line 294 of file socket.cpp.
Referenced by MessageLoop().
|
virtual |
Definition at line 251 of file socket.cpp.
Referenced by CHttpDaemonThread::Execute().
|
inlinevirtual |
Reimplemented in CHttpDaemon.
Definition at line 132 of file socket.h.
Referenced by MessageLoop().
|
virtual |
Reimplemented in CHttpDaemon.
Definition at line 306 of file socket.cpp.
Referenced by MessageLoop().
|
virtual |
Reimplemented in CHttpDaemon.
Definition at line 312 of file socket.cpp.
Referenced by MessageLoop().
|
virtual |
Reimplemented from CSocket.
Definition at line 183 of file socket.cpp.
Referenced by CHttpDaemon::Start().
VOID CServerSocket::RemoveClient | ( | LPCServerClientThread | lpClient | ) |
Definition at line 300 of file socket.cpp.
Referenced by CServerClientThread::~CServerClientThread().
|
protected |
Definition at line 137 of file socket.h.
Referenced by Close(), InsertClient(), and RemoveClient().