sprint 1-alpha
|
#include <xsocket.h>
Inherits sprint::io::xstream, and sprint::detail::socket< true >.
Public Member Functions | |
xsocket (StreamProto proto) | |
virtual int | write (const char *buf, unsigned int size) |
Write some data on the stream (if avail) | |
virtual int | read (char *buf, unsigned int size) |
Read data from stream (if avail) | |
virtual int | seek (int offset, sprint::io::seek_t type) |
Seek position (if available) | |
virtual int | length () |
Stream Lenght (or -1 if is undefined size) | |
virtual state_t | state () |
File state. |
a virtual IO that use posix socket to send data on net