Rudiments: /home/dmuse/src/rudiments/include/rudiments/socketserver.h Source File

Rudiments

- Main Page
- Classes

socketserver.h
1 // Copyright (c) 2002 David Muse
2 // See the COPYING file for more information.
3
4 #ifndef RUDIMENTS_SOCKETSERVER_H
5 #define RUDIMENTS_SOCKETSERVER_H
6
7 #include <rudiments/private/socketserverincludes.h>
8
9 class socketserverprivate;
10
13 class RUDIMENTS_DLLSPEC socketserver : public server {
14 public:
15
17 socketserver();
18
21 socketserver(const socketserver &s);
22
25 socketserver &operator=(const socketserver &s);
26
28 virtual ~socketserver();
29
33 virtual bool supportsBlockingNonBlockingModes();
34
40 virtual bool useNonBlockingMode() const;
41
47 virtual bool useBlockingMode() const;
48
51 virtual bool isUsingNonBlockingMode() const;
52
55 virtual int32_t ioCtl(int32_t command, void *arg) const;
56
57
65 bool lingerOnClose(int32_t timeout);
66
73 bool dontLingerOnClose();
74
79 bool reuseAddresses();
80
85 bool dontReuseAddresses();
86
93 virtual bool listen(int32_t backlog);
94
95 #include <rudiments/private/socketserver.h>
96 };
97
98 #endif
server::listen
virtual bool listen(int32_t backlog)
server::operator=
server & operator=(const server &s)
filedescriptor::useBlockingMode
virtual bool useBlockingMode() const
filedescriptor::ioCtl
virtual int32_t ioCtl(int32_t command, void *arg) const
filedescriptor::supportsBlockingNonBlockingModes
virtual bool supportsBlockingNonBlockingModes()
server
Definition: server.h:13
socketserver
Definition: socketserver.h:13
filedescriptor::isUsingNonBlockingMode
virtual bool isUsingNonBlockingMode() const
filedescriptor::useNonBlockingMode
virtual bool useNonBlockingMode() const