|
| TCPSocket (const std::string &ip, unsigned short port) |
|
void | setIP (const std::string &ip) |
|
void | setPort (unsigned short port) |
|
const std::string & | getIP () const |
|
unsigned short | getPort () const |
|
int | connect () |
|
int | connect (const std::string &ip, unsigned short port) |
|
void | setBufferSize (int size) |
|
void | print () |
|
const std::string | getLocalIP () |
|
int | getLocalAddress () |
|
int | getLocalPort () |
|
unsigned int | getAddress () |
|
virtual size_t | write (const void *v, size_t count) |
|
virtual size_t | read (void *v, size_t count) |
|
size_t | read_once (void *v, size_t count) |
|
int | get_fd () const |
|
bool | select (int sec=-1, int usec=-1) |
|
bool | select2 (int sec=-1, int usec=-1) |
|
bool | close () |
|
|
std::string | m_ip |
|
unsigned short | m_port |
|
Definition at line 21 of file TCPSocket.h.
The documentation for this class was generated from the following files: