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 
9 class inetsocketserverprivate;
10 
21 class RUDIMENTS_DLLSPEC inetsocketserver : public socketserver, private inetsocketutil {
22  public:
23 
26 
30 
34 
36  virtual ~inetsocketserver();
37 
57  bool listen(const char *address,
58  uint16_t port,
59  int32_t backlog);
60 
61 
62 
67  bool initialize(const char *address, uint16_t port);
68 
72  bool bind();
73 
79  bool listen(int32_t backlog);
80 
87 
92  uint16_t getPort();
93 
94  #include <rudiments/private/inetsocketserver.h>
95 };
96 
97 #endif
virtual filedescriptor * accept()
Definition: inetsocketutil.h:13
inetsocketutil & operator=(const inetsocketutil &i)
void initialize(const char *address, uint16_t port)
virtual bool listen(int32_t backlog)
Definition: socketserver.h:13
Definition: filedescriptor.h:14
Definition: inetsocketserver.h:21
virtual bool bind()