Rudiments

- Main Page
- Classes

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
25 inetsocketserver();
26
29 inetsocketserver(const inetsocketserver &i);
30
33 inetsocketserver &operator=(const inetsocketserver &i);
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
86 filedescriptor *accept();
87
92 uint16_t getPort();
93
94 #include <rudiments/private/inetsocketserver.h>
95 };
96
97 #endif
server::accept
virtual filedescriptor * accept()
inetsocketutil
Definition: inetsocketutil.h:13
inetsocketutil::operator=
inetsocketutil & operator=(const inetsocketutil &i)
inetsocketutil::initialize
void initialize(const char *address, uint16_t port)
socketserver::listen
virtual bool listen(int32_t backlog)
socketserver
Definition: socketserver.h:13
filedescriptor
Definition: filedescriptor.h:14
inetsocketserver
Definition: inetsocketserver.h:21
server::bind
virtual bool bind()