libcluon
0.0.148
|
#include <TCPServer.hpp>
Public Member Functions | |
TCPServer (uint16_t port, std::function< void(std::string &&from, std::shared_ptr< cluon::TCPConnection > connection)> newConnectionDelegate) noexcept | |
~TCPServer () noexcept | |
bool | isRunning () const noexcept |
|
noexcept |
Constructor to create a TCP server.
port | Port to receive UDP packets from. |
newConnectionDelegate | Functional to handle incoming TCP connections. |
References retVal.
|
noexcept |
|
noexcept |
References cluon::TerminateHandler::instance(), and cluon::TerminateHandler::isTerminated.