1 #ifndef __WVUNIXDGSOCKET_H
2 #define __WVUNIXDGSOCKET_H
5 #include <sys/syslog.h>
6 #include <sys/socket.h>
11 #include "wvlinklist.h"
12 #include "wvfdstream.h"
37 virtual size_t uwrite(
const void *buf,
size_t count);
45 const char *wstype()
const {
return "WvUnixDGSocket"; }
64 const char *wstype()
const {
return "WvUnixDGConn"; }
83 const char *wstype()
const {
return "WvUnixDGListener"; }
Specialization of WvBufBase for unsigned char type buffers intended for use with raw memory buffers.
A WvFastString acts exactly like a WvString, but can take (const char *) strings without needing to a...
Base class for streams built on Unix file descriptors.
WvString is an implementation of a simple and efficient printable-string class.
WvStream-based Unix datagram domain socket connection class that listens on filename.
Server end of a Unix datagram socket stream.
WvStream-based Unix datagram domain socket base class.
virtual size_t uwrite(const void *buf, size_t count)
unbuffered I/O functions; these ignore the buffer, which is handled by write().
virtual bool post_select(SelectInfo &si)
post_select() is called after ::select(), and returns true if this object is now ready.
virtual void pre_select(SelectInfo &si)
pre_select() sets up for eventually calling ::select().
the data structure used by pre_select()/post_select() and internally by select().