Rudiments

- Main Page
- Classes

server.h
1 // Copyright (c) 2002 David Muse
2 // See the COPYING file for more information.
3
4 #ifndef RUDIMENTS_SERVER_H
5 #define RUDIMENTS_SERVER_H
6
7 #include <rudiments/private/serverincludes.h>
8
9 class serverprivate;
10
13 class RUDIMENTS_DLLSPEC server : public filedescriptor {
14 public:
15
17 server();
18
21 server(const server &s);
22
25 server &operator=(const server &s);
26
28 virtual ~server();
29
34 virtual bool bind();
35
41 virtual bool listen(int32_t backlog);
42
50 virtual filedescriptor *accept();
51
52 #include <rudiments/private/server.h>
53 };
54
55 #endif
filedescriptor::operator=
filedescriptor & operator=(const filedescriptor &f)
server
Definition: server.h:13
filedescriptor
Definition: filedescriptor.h:14