log4cplus
2.0.0
|
This class implements server sockets. More...
#include <socket.h>
Public Member Functions | |
ServerSocket (unsigned short port, bool udp=false, bool ipv6=false) | |
ServerSocket (ServerSocket &&) | |
virtual | ~ServerSocket () |
ServerSocket & | operator= (ServerSocket &&) |
Socket | accept () |
void | interruptAccept () |
void | swap (ServerSocket &) |
Protected Attributes | |
std::array< std::ptrdiff_t, 2 > | interruptHandles |
This class implements server sockets.
A server socket waits for requests to come in over the network. It performs some operation based on that request, and then possibly returns a result to the requester.
Definition at line 110 of file helpers/socket.h.
log4cplus::helpers::ServerSocket::ServerSocket | ( | unsigned short | port, |
bool | udp = false , |
||
bool | ipv6 = false |
||
) |
virtual log4cplus::helpers::ServerSocket::~ServerSocket | ( | ) | [virtual] |
ServerSocket& log4cplus::helpers::ServerSocket::operator= | ( | ServerSocket && | ) |
std::array<std::ptrdiff_t, 2> log4cplus::helpers::ServerSocket::interruptHandles [protected] |
Definition at line 123 of file helpers/socket.h.