#include <serversocket.h>
◆ ServerSocket()
log4cxx::helpers::ServerSocket::ServerSocket |
( |
int |
port | ) |
|
Creates a server socket on a specified port.
◆ ~ServerSocket()
virtual log4cxx::helpers::ServerSocket::~ServerSocket |
( |
| ) |
|
|
virtual |
◆ accept()
SocketPtr log4cxx::helpers::ServerSocket::accept |
( |
| ) |
|
Listens for a connection to be made to this socket and accepts it.
◆ close()
void log4cxx::helpers::ServerSocket::close |
( |
| ) |
|
◆ getSoTimeout()
int log4cxx::helpers::ServerSocket::getSoTimeout |
( |
| ) |
const |
Retrive setting for SO_TIMEOUT.
◆ setSoTimeout()
void log4cxx::helpers::ServerSocket::setSoTimeout |
( |
int |
timeout | ) |
|
Enable/disable SO_TIMEOUT with the specified timeout, in milliseconds.
The documentation for this class was generated from the following file: