18#ifndef _LOG4CXX_HELPERS_SERVER_SOCKET_H
19#define _LOG4CXX_HELPERS_SERVER_SOCKET_H
Definition: serversocket.h:29
int getSoTimeout() const
Retrive setting for SO_TIMEOUT.
ServerSocket(int port)
Creates a server socket on a specified port.
SocketPtr accept()
Listens for a connection to be made to this socket and accepts it.
void setSoTimeout(int timeout)
Enable/disable SO_TIMEOUT with the specified timeout, in milliseconds.
void close()
Closes this socket.
Definition: messagehandler.h:23