sprint 1-alpha
Public Member Functions
sprint::io::xsocket Class Reference

#include <xsocket.h>

Inherits sprint::io::xstream, and sprint::detail::socket< true >.

List of all members.

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.

Detailed Description

a virtual IO that use posix socket to send data on net


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines