Rudiments
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 
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 & operator=(const filedescriptor &f)
Definition: server.h:11
Definition: filedescriptor.h:13