50 open(port, queue_size);
97claw::net::socket_server::operator bool()
const
basic_socket * open()
Open the socket.
basic_socket * close()
Close the socket.
bool is_open() const
Tell if the socket is open.
socket_traits::descriptor m_descriptor
File descriptor.
Class used to receive incoming connections.
static bool release()
Close the socket library.
static bool init()
Initialize the use of the socket library.
socket_server()
Constructor.
socket_server * close()
Close the socket.
socket_server * open(int port, unsigned int queue_size=s_default_queue_size)
Open the socket.
bool is_open() const
Tell if the server is open.
static bool listen(descriptor d, int port, unsigned int queue_size)
Open a socket for incoming connexions.
static bool release()
Close the socket library.
static bool init()
Initialize the use of the socket library.
Class used to receive incoming connections.