Rudiments
inetsocketserver.h
1 // Copyright (c) 1999-2018 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
Definition: filedescriptor.h:13
Definition: inetsocketserver.h:19
bool listen(int32_t backlog)
inetsocketserver(const inetsocketserver &i)
virtual ~inetsocketserver()
bool listen(const char *address, uint16_t port, int32_t backlog)
bool initialize(const char *address, uint16_t port)
inetsocketserver & operator=(const inetsocketserver &i)
filedescriptor * accept()
uint16_t getPort()
Definition: inetsocketutil.h:11
Definition: socketserver.h:11