Rudiments
inetsocketserver.h
1 // Copyright (c) 2002 David Muse
2 // See the COPYING file for more information.
3 
4 #ifndef RUDIMENTS_INETSOCKETSERVER_H
5 #define RUDIMENTS_INETSOCKETSERVER_H
6 
7 #include <rudiments/private/inetsocketserverincludes.h>
8 
19 class RUDIMENTS_DLLSPEC inetsocketserver : public socketserver, private inetsocketutil {
20  public:
21 
24 
28 
32 
34  virtual ~inetsocketserver();
35 
55  bool listen(const char *address,
56  uint16_t port,
57  int32_t backlog);
58 
59 
60 
65  bool initialize(const char *address, uint16_t port);
66 
70  bool bind();
71 
77  bool listen(int32_t backlog);
78 
85 
90  uint16_t getPort();
91 
92  #include <rudiments/private/inetsocketserver.h>
93 };
94 
95 #endif
virtual filedescriptor * accept()
Definition: inetsocketutil.h:11
inetsocketutil & operator=(const inetsocketutil &i)
void initialize(const char *address, uint16_t port)
virtual bool listen(int32_t backlog)
Definition: socketserver.h:11
Definition: filedescriptor.h:13
Definition: inetsocketserver.h:19
virtual bool bind()