Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

Socket Class Reference

#include <Socket.h>

Inherited by ClientSocket [private].

List of all members.

Public Member Functions

 Socket ()
virtual ~Socket ()
bool create ()
bool bind (const int port)
bool listen () const
bool accept (Socket &) const
bool connect (const std::string host, const int port)
bool send (const std::string) const
int recv (std::string &) const
void set_non_blocking (const bool)
bool is_valid () const


Constructor & Destructor Documentation

Socket::Socket  ) 
 

virtual Socket::~Socket  )  [virtual]
 


Member Function Documentation

bool Socket::accept Socket  )  const
 

bool Socket::bind const int  port  ) 
 

bool Socket::connect const std::string  host,
const int  port
 

bool Socket::create  ) 
 

bool Socket::is_valid  )  const [inline]
 

bool Socket::listen  )  const
 

int Socket::recv std::string &   )  const
 

bool Socket::send const std::string   )  const
 

void Socket::set_non_blocking const   bool  ) 
 


The documentation for this class was generated from the following file:
Generated on Sun Apr 17 13:34:27 2005 for cavewriting by  doxygen 1.4.0