Public Member Functions | |
debug_conn () | |
int | read (char *buffer, size length) |
Function to read data, return -1 on error or bytes. | |
int | write (const char *buffer, size length) |
Function to write data, return -1 on error or bytes. | |
void | close () |
Function to close the current socket/file. | |
size | length () |
Length of the file, allways -1 on sockets. |
debug_conn::debug_conn | ( | ) | [inline] |
int debug_conn::read | ( | char * | buffer, | |
size | length | |||
) | [inline, virtual] |
int debug_conn::write | ( | const char * | buffer, | |
size | length | |||
) | [inline, virtual] |
void debug_conn::close | ( | ) | [inline, virtual] |
size debug_conn::length | ( | ) | [inline, virtual] |