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.
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.
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.