1 #ifndef __WVUNIXDGSOCKET_H
2 #define __WVUNIXDGSOCKET_H
5 #include <sys/syslog.h>
6 #include <sys/socket.h>
12 #include "wvlinklist.h"
13 #include "wvfdstream.h"
34 WvUnixDGSocket(WvStringParm filename,
bool _server,
int perms = 0222);
38 virtual size_t uwrite(
const void *buf,
size_t count);
46 const char *wstype()
const {
return "WvUnixDGSocket"; }
65 const char *wstype()
const {
return "WvUnixDGConn"; }
84 const char *wstype()
const {
return "WvUnixDGListener"; }
Server end of a Unix datagram socket stream.
virtual size_t uwrite(const void *buf, size_t count)
unbuffered I/O functions; these ignore the buffer, which is handled by write().
WvString is an implementation of a simple and efficient printable-string class.
WvStream-based Unix datagram domain socket connection class that listens on filename.
the data structure used by pre_select()/post_select() and internally by select().
Specialization of WvBufBase for unsigned char type buffers intended for use with raw memory buffers.
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().
Base class for streams built on Unix file descriptors.
WvStream-based Unix datagram domain socket base class.