4 #include "network_condition_variable.h"
41 std::shared_ptr<TCPSocket> impl;
Base class for all classes that generate network events.
Definition: network_condition_variable.h:15
TCPListen(const SocketName &endpoint, int backlog=5, bool reuse_address=true)
Create a listening socket for the specified end point.
bool is_null() const
Returns true if it is a null object.
Definition: tcp_listen.h:27
TCPListen()
Create null object.
TCP/IP socket connection.
Definition: tcp_connection.h:18
Listens for incoming TCP/IP socket connections.
Definition: tcp_listen.h:16
Socket name; container class for an IP address and port.
Definition: socket_name.h:45
TCPConnection accept(SocketName &end_point)
Accept an incoming connection.
SocketHandle * get_socket_handle() override
void close()
Stops listening for incoming messages and closes the socket.