skstream
Public Member Functions | Protected Attributes
basic_socket_stream Class Reference

A base class for iostreams that handles stream sockets. More...

#include <skstream.h>

Inheritance diagram for basic_socket_stream:
basic_socket dgram_socket_stream stream_socket_stream udp_socket_stream tcp_socket_stream unix_socket_stream

List of all members.

Public Member Functions

 basic_socket_stream (socketbuf &buffer, int proto=FreeSockets::proto_IP)
 Make a socket stream.
bool fail ()
bool operator! ()
bool timeout () const
virtual SOCKET_TYPE getSocket () const
virtual void close ()
void shutdown (bool wr_only=false)
void setSocket (SOCKET_TYPE sock)
void setTimeout (unsigned sec, unsigned usec=0)
int getProtocol () const

Protected Attributes

socketbuf_sockbuf
int m_protocol

Detailed Description

A base class for iostreams that handles stream sockets.


The documentation for this class was generated from the following files: