mailfilter  0.8.9
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::Socket ( void  )

Member Function Documentation

◆ c_close()

int Socket::c_close ( void  ) const
virtual

Implements Connection.

◆ c_open()

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

Implements Connection.

◆ c_read()

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

Implements Connection.

◆ c_reply()

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

Implements Connection.

◆ c_write()

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

Implements Connection.

◆ clear()

void Socket::clear ( void  )

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