sockpp
Modern C++ socket library wrapper
Typedefs
tcp6_acceptor.h File Reference

Class for a TCP v6 server to accept incoming connections. More...

#include "sockpp/acceptor.h"
#include "sockpp/tcp6_socket.h"

Go to the source code of this file.

Typedefs

using sockpp::tcp6_acceptor = acceptor_tmpl< tcp6_socket >
 Class for creating a TCP v6 server. More...
 

Detailed Description

Class for a TCP v6 server to accept incoming connections.

Author
Frank Pagliughi
SoRo Systems, Inc.
www.sorosys.com
Date
May 2019

Typedef Documentation

◆ tcp6_acceptor

using sockpp::tcp6_acceptor = typedef acceptor_tmpl<tcp6_socket>

Class for creating a TCP v6 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 tcp6_socket which can then be used for the actual communications.