Rudiments

server.h
1 // Copyright (c) 1999-2018 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
11 class RUDIMENTS_DLLSPEC server : public filedescriptor {
12 public:
13
15 server();
16
19 server(const server &s);
20
23 server &operator=(const server &s);
24
26 virtual ~server();
27
32 virtual bool bind();
33
39 virtual bool listen(int32_t backlog);
40
48 virtual filedescriptor *accept();
49
50 #include <rudiments/private/server.h>
51 };
52
53 #endif
filedescriptor
Definition: filedescriptor.h:13
server
Definition: server.h:11
server::operator=
server & operator=(const server &s)
server::server
server()
server::accept
virtual filedescriptor * accept()
server::server
server(const server &s)
server::bind
virtual bool bind()
server::~server
virtual ~server()
server::listen
virtual bool listen(int32_t backlog)