Wizard
Software Engineering Project - Wizard
Loading...
Searching...
No Matches
tcp_acceptor.h File Reference
#include "sockpp/acceptor.h"
#include "sockpp/tcp_socket.h"

Go to the source code of this file.

Typedefs

using sockpp::tcp_acceptor = acceptor_tmpl<tcp_socket>
 

Detailed Description

Class for a TCP server to accept incoming connections.

Author
Frank Pagliughi
SoRo Systems, Inc.
www.sorosys.com
Date
December 2014

Typedef Documentation

◆ tcp_acceptor

using sockpp::tcp_acceptor = acceptor_tmpl<tcp_socket>

Class for creating a TCP server. Objects of this class bind and read_message 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.