| 
    MeVisLab Toolbox Reference
    
   | 
 
A TCP acceptor listening on a given port and interface address. More...
#include <TcpAcceptor.h>
Public Member Functions | |
| TcpAcceptor (std::shared_ptr< Context > context, const std::string &address, const unsigned short port) | |
| template<typename AcceptHandler > | |
| void | async_accept (TcpSocket &candidate, AcceptHandler &&handler) | 
| unsigned short | port () const | 
| void | cancel () | 
| void | close () | 
A TCP acceptor listening on a given port and interface address.
Synopsis:
This is quite low level, have a look at asio::TcpAcceptorSession for creating a TCP server.
Definition at line 39 of file TcpAcceptor.h.
| asio::TcpAcceptor::TcpAcceptor | ( | std::shared_ptr< Context > | context, | 
| const std::string & | address, | ||
| const unsigned short | port | ||
| ) | 
      
  | 
  inline | 
Definition at line 46 of file TcpAcceptor.h.
References asio::TcpSocket::socket.
| void asio::TcpAcceptor::cancel | ( | ) | 
| void asio::TcpAcceptor::close | ( | ) | 
| unsigned short asio::TcpAcceptor::port | ( | ) | const |