sockpp
Modern C++ socket library wrapper
|
Class for a TCP server to accept incoming connections. More...
Go to the source code of this file.
Typedefs | |
using | sockpp::tcp_acceptor = acceptor_tmpl< tcp_socket > |
Class for creating a TCP server. More... | |
Class for a TCP server to accept incoming connections.
using sockpp::tcp_acceptor = typedef acceptor_tmpl<tcp_socket> |
Class for creating a TCP server.
Objects of this class bind and listen on TCP ports for incoming connections. Normally, a server thread creates one of these and blocks on the call to accept incoming connections. The call to accept creates and returns a tcp_socket which can then be used for the actual communications.