opentl::core::util::TCPClient Class Reference
List of all members.
|
Public Member Functions |
| bool | connect () |
| bool | recv (std::string &message) |
| bool | send (std::string message) |
| | TCPClient (std::string hostname, short port) |
| virtual | ~TCPClient () |
Detailed Description
Provides a platform independent implementation of a TCP client. The class uses 'boostasio' internally.
Constructor & Destructor Documentation
| opentl::core::util::TCPClient::TCPClient |
( |
std::string |
hostname, |
|
|
short |
port | |
|
) |
| | |
| virtual opentl::core::util::TCPClient::~TCPClient |
( |
|
) |
[inline, virtual] |
Member Function Documentation
| bool opentl::core::util::TCPClient::connect |
( |
|
) |
|
| bool opentl::core::util::TCPClient::recv |
( |
std::string & |
message |
) |
|
| bool opentl::core::util::TCPClient::send |
( |
std::string |
message |
) |
|