class IoRawSocket4

Raw socket class supporting input and output. More...

Contains pure virtuals
Definition#include <rawsock4.hh>
InheritsRawSocket4 [public ]
Inherited byFilterRawSocket4
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods


Detailed Description

Raw socket class supporting input and output. Output is handled with write() and writev() methods inherited from RawSocket. Reads are handled asynchronously. When data arrives on the underlying socket, recv is called and reads it into a per instance buffer. The abstract method process_recv_data is then called with a reference to a buffer containing the data.

 IoRawSocket4 (EventLoop& e, uint32_t protocol, bool autohook = true)
throw (RawSocketException)

IoRawSocket4

 ~IoRawSocket4 ()

~IoRawSocket4

void  process_recv_data (const vector<uint8_t>& buf)

process_recv_data

[protected pure virtual]

void  recv (int fd, SelectorMask m)

recv

[protected]

bool  eventloop_hook ()

eventloop_hook

[protected]

void  eventloop_unhook ()

eventloop_unhook

[protected]


Generated by: pavlin on possum.icir.org on Mon Jun 9 13:23:54 2003, using kdoc 2.0a54+XORP.