libktorrent
2.2.0
|
#include <pipe.h>
Public Member Functions | |
int | read (Uint8 *buffer, int max_len) |
Read data from the read end of the pipe. | |
int | readerSocket () const |
Get the reader socket. | |
int | write (const Uint8 *data, int len) |
Write data to the write end of the pipe. | |
int | writerSocket () const |
Get the writer socket. | |
Protected Attributes | |
int | reader |
int | writer |
Cross platform pipe implementation, uses socketpair on unix and a TCP connection over the localhost in windows.