skstream
|
An iostream class that handles unix sockets. More...
#include <skstream_unix.h>
Public Member Functions | |
unix_socket_stream (SOCKET_TYPE socket) | |
unix_socket_stream (const std::string &address, bool nonblock=false) | |
unix_socket_stream (const std::string &address, unsigned int milliseconds) | |
unix_socket_stream (unix_socket_stream &other, bool nonblock=false) | |
void | open (const std::string &address, bool nonblock=false) |
void | open (const std::string &address, unsigned int milliseconds) |
void | open (unix_socket_stream &other, bool nonblock=false) |
bool | isReady (unsigned int milliseconds=0) |
![]() | |
virtual void | close () |
virtual SOCKET_TYPE | getSocket () const |
bool | connect_pending () const |
![]() | |
basic_socket_stream (socketbuf &buffer, int proto=FreeSockets::proto_IP) | |
Make a socket stream. | |
bool | fail () |
bool | operator! () |
bool | timeout () const |
void | shutdown (bool wr_only=false) |
void | setSocket (SOCKET_TYPE sock) |
void | setTimeout (unsigned sec, unsigned usec=0) |
int | getProtocol () const |
![]() | |
int | getLastError () const |
void | copyLastError (const basic_socket &other) |
bool | is_open () const |
Private Member Functions | |
unix_socket_stream (const unix_socket_stream &) | |
unix_socket_stream & | operator= (const unix_socket_stream &socket) |
Additional Inherited Members | |
![]() | |
static bool | startup () |
![]() | |
stream_socket_stream (SOCKET_TYPE socket) | |
![]() | |
void | setLastError () const |
![]() | |
SOCKET_TYPE | _connecting_socket |
![]() | |
socketbuf & | _sockbuf |
int | m_protocol |
![]() | |
int | LastError |
An iostream class that handles unix sockets.
This software package has been extensively modified by members of the Worldforge Project. See the file ChangeLog for details.
$Id$