Rudiments
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 
28 class RUDIMENTS_DLLSPEC unixsocketserver : public socketserver, private unixsocketutil {
29  public:
30 
33 
37 
41 
43  virtual ~unixsocketserver();
44 
56  bool listen(const char *filename,
57  mode_t mask,
58  int32_t backlog);
59 
60 
61 
68  bool initialize(const char *filename, mode_t mask);
69 
73  bool bind();
74 
80  bool listen(int32_t backlog);
81 
82 
89 
90  #include <rudiments/private/unixsocketserver.h>
91 };
92 
93 #endif