Rudiments

unixsocketserver.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information.
3
4 #ifndef RUDIMENTS_UNIXSOCKETSERVER_H
5 #define RUDIMENTS_UNIXSOCKETSERVER_H
6
7 #include <rudiments/private/unixsocketserverincludes.h>
8
31 class RUDIMENTS_DLLSPEC unixsocketserver : public socketserver, private unixsocketutil {
32 public:
33
35 unixsocketserver();
36
39 unixsocketserver(const unixsocketserver &u);
40
43 unixsocketserver &operator=(const unixsocketserver &u);
44
46 virtual ~unixsocketserver();
47
59 bool listen(const char *filename,
60 mode_t mask,
61 int32_t backlog);
62
63
64
71 bool initialize(const char *filename, mode_t mask);
72
76 bool bind();
77
83 bool listen(int32_t backlog);
84
85
91 filedescriptor *accept();
92
93
96 bool close();
97
98 #include <rudiments/private/unixsocketserver.h>
99 };
100
101 #endif
filedescriptor
Definition: filedescriptor.h:13
socketserver
Definition: socketserver.h:11
unixsocketserver
Definition: unixsocketserver.h:31
unixsocketserver::operator=
unixsocketserver & operator=(const unixsocketserver &u)
unixsocketserver::close
bool close()
unixsocketserver::accept
filedescriptor * accept()
unixsocketserver::listen
bool listen(const char *filename, mode_t mask, int32_t backlog)
unixsocketserver::unixsocketserver
unixsocketserver()
unixsocketserver::unixsocketserver
unixsocketserver(const unixsocketserver &u)
unixsocketserver::initialize
bool initialize(const char *filename, mode_t mask)
unixsocketserver::listen
bool listen(int32_t backlog)
unixsocketserver::~unixsocketserver
virtual ~unixsocketserver()
unixsocketserver::bind
bool bind()
unixsocketutil
Definition: unixsocketutil.h:11