psocksxx
1.0.0
|
UDP over IPv4 controller class. More...
#include <udpnsockstream.h>
Public Member Functions | |
udpnsockstream () throw ( sockexception ) | |
constructor More... | |
virtual | ~udpnsockstream () throw () |
destructor | |
![]() | |
nsockstream (sockstreambuf::socket_type_t type, sockstreambuf::socket_protocol_t proto) throw ( sockexception ) | |
constructor More... | |
nsockstream (sockstreambuf *ssb) throw () | |
constructor More... | |
virtual | ~nsockstream () throw () |
destructor | |
void | connect (const nsockaddr *saddr) throw ( sockexception, socktimeoutexception ) |
connect to a network address More... | |
void | connect (const char *node, unsigned int port) throw ( sockexception, socktimeoutexception ) |
connect to a network address More... | |
void | bind (const nsockaddr *saddr, bool reuse_addr=false) throw ( sockexception ) |
bind the stream to a network address More... | |
void | listen (int backlog=0) throw ( sockexception ) |
make this stream passive and ready to accept connections More... | |
nsockstream * | accept () throw ( sockexception ) |
accept a connection on a listening (passive) stream More... | |
![]() | |
iosockstream (sockstreambuf *ssb) throw () | |
constructor More... | |
virtual | ~iosockstream () throw () |
destructor | |
bool | timedout () const throw () |
get the timed-out status for this stream More... | |
![]() | |
isockstream (sockstreambuf *ssb) throw () | |
constructor More... | |
virtual | ~isockstream () throw () |
destructor | |
![]() | |
virtual | ~iosocks () throw () |
destructor More... | |
bool | timedout () const throw () |
get the timed-out status flag value More... | |
const timeval * | timeout (time_t sec, suseconds_t usec) throw () |
set the timeout value for stream communications More... | |
void * | clear_timeout () throw () |
clear the timeout value More... | |
![]() | |
osockstream (sockstreambuf *ssb) throw () | |
constructor More... | |
virtual | ~osockstream () throw () |
destructor | |
Additional Inherited Members | |
![]() | |
iosocks () throw () | |
empty default constructor More... | |
UDP over IPv4 controller class.
This acts as the controller class for UDP over IPv4 communication streams.
psocksxx::udpnsockstream::udpnsockstream | ( | ) | ||
throw | ( | sockexception | ||
) |
constructor
psocksxx::sockexception | socket exception |
Initialise a UDP communication stream over IPv4.