Goby Underwater Autonomy Project
Series: 1.1, revision: 163, released on 2013-02-06 14:23:27 -0500
|
provides a basic TCP server for line by line text based communications to a one or more remote TCP clients More...
#include <util/liblinebasedcomms/tcp_server.h>
Inherits goby::util::LineBasedInterface.
Public Member Functions | |
TCPServer (unsigned port, const std::string &delimiter="\r\n") | |
create a TCP server | |
std::string | local_endpoint () |
string representation of the local endpoint (e.g. 192.168.1.105:54230 | |
Friends | |
class | TCPConnection |
class | LineBasedConnection< boost::asio::ip::tcp::socket > |
provides a basic TCP server for line by line text based communications to a one or more remote TCP clients
Definition at line 44 of file tcp_server.h.
goby::util::TCPServer::TCPServer | ( | unsigned | port, |
const std::string & | delimiter = "\r\n" |
||
) | [inline] |
create a TCP server
port | port of the server (use 50000+ to avoid problems with special system ports) |
delimiter | string used to split lines |
Definition at line 51 of file tcp_server.h.