mailfilter  0.8.3
Public Member Functions | List of all members
Socket Class Reference

#include <socket.hh>

Inheritance diagram for Socket:
Connection

Public Member Functions

 Socket (void)
 
void clear (void)
 
int c_open (const char *host, int port, int time_out, int protocol)
 
int c_close (void) const
 
int c_write (const char *command)
 
int c_read (bool=false)
 
const string * c_reply (void) const
 
- Public Member Functions inherited from Connection
virtual ~Connection (void)
 

Constructor & Destructor Documentation

Socket::Socket ( void  )

Member Function Documentation

int Socket::c_close ( void  ) const
virtual

Implements Connection.

int Socket::c_open ( const char *  host,
int  port,
int  time_out,
int  protocol 
)
virtual

Implements Connection.

int Socket::c_read ( bool  read_header = false)
virtual

Implements Connection.

const string * Socket::c_reply ( void  ) const
virtual

Implements Connection.

int Socket::c_write ( const char *  command)
virtual

Implements Connection.

void Socket::clear ( void  )

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