Rudiments

- Main Page
- Classes

unixsocketserver.h
1 // Copyright (c) 2002 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
9 class unixsocketserverprivate;
10
33 class RUDIMENTS_DLLSPEC unixsocketserver : public socketserver, private unixsocketutil {
34 public:
35
37 unixsocketserver();
38
41 unixsocketserver(const unixsocketserver &u);
42
45 unixsocketserver &operator=(const unixsocketserver &u);
46
48 virtual ~unixsocketserver();
49
61 bool listen(const char *filename,
62 mode_t mask,
63 int32_t backlog);
64
65
66
73 bool initialize(const char *filename, mode_t mask);
74
78 bool bind();
79
85 bool listen(int32_t backlog);
86
87
93 filedescriptor *accept();
94
95 #include <rudiments/private/unixsocketserver.h>
96 };
97
98 #endif
unixsocketutil::initialize
void initialize(const char *filename)
unixsocketserver
Definition: unixsocketserver.h:33
server::accept
virtual filedescriptor * accept()
unixsocketutil
Definition: unixsocketutil.h:13
socketserver::operator=
socketserver & operator=(const socketserver &s)
socketserver::listen
virtual bool listen(int32_t backlog)
socketserver
Definition: socketserver.h:13
filedescriptor
Definition: filedescriptor.h:14
server::bind
virtual bool bind()