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
31class RUDIMENTS_DLLSPEC unixsocketserver :
32 public socketserver, private unixsocketutil {
33 public:
34
37
40
51 bool listen(const char *filename,
52 mode_t mask,
54
57 void setMask(mode_t mask);
58
61 mode_t getMask();
62
68 bool open();
69
74 bool bind();
75
81 bool listen();
82
90
93 bool close();
94
95 #include <rudiments/private/unixsocketserver.h>
96};
97
98#endif
Definition avltree.h:11
Definition filedescriptor.h:13
Definition socketserver.h:11
Definition unixsocketserver.h:32
void setMask(mode_t mask)
virtual ~unixsocketserver()
filedescriptor * accept()
bool listen(const char *filename, mode_t mask, uint32_t backlog)
Definition unixsocketutil.h:11