Robotics Library
0.6.2
|
#include <TcpSocket.h>
Public Member Functions | |
TcpSocket (const ::std::string &host, const unsigned short int &port) | |
virtual | ~TcpSocket () |
virtual void | open () |
Public Member Functions inherited from rl::hal::Socket | |
Socket (const ::std::string &host, const unsigned short int &port) | |
virtual | ~Socket () |
void | close () |
::std::string | getHost () const |
unsigned short int | getPort () const |
::std::size_t | read (void *buf, const ::std::size_t &count) |
::std::size_t | select (const bool &read, const bool &write, const ::rl::math::Real &timeout) |
::std::size_t | write (const void *buf, const ::std::size_t &count) |
Public Member Functions inherited from rl::hal::Com | |
Com () | |
virtual | ~Com () |
bool | isConnected () const |
Additional Inherited Members | |
Protected Member Functions inherited from rl::hal::Socket | |
void | connect (const int &domain, const int &type, const int &protocol) |
Protected Member Functions inherited from rl::hal::Com | |
void | setConnected (const bool &connected) |
rl::hal::TcpSocket::TcpSocket | ( | const ::std::string & | host, |
const unsigned short int & | port | ||
) |
|
virtual |
|
virtual |
Implements rl::hal::Socket.