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"; }
A WvFastString acts exactly like a WvString, but can take (const char *) strings without needing to a...
WvStream-based Unix datagram domain socket base class.
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(). ...
virtual size_t uwrite(const void *buf, size_t count)
unbuffered I/O functions; these ignore the buffer, which is handled by write().
Base class for streams built on Unix file descriptors.
Specialization of WvBufBase for unsigned char type buffers intended for use with raw memory buffers...
WvStream-based Unix datagram domain socket connection class that listens on filename.
Server end of a Unix datagram socket stream.
virtual bool post_select(SelectInfo &si)
post_select() is called after ::select(), and returns true if this object is now ready.
WvString is an implementation of a simple and efficient printable-string class.