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

Rudiments

socketserver.h
1 // Copyright (c) 1999-2018 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
11 class RUDIMENTS_DLLSPEC socketserver : public server {
12 public:
13
15 socketserver();
16
19 socketserver(const socketserver &s);
20
23 socketserver &operator=(const socketserver &s);
24
26 virtual ~socketserver();
27
31 virtual bool supportsBlockingNonBlockingModes();
32
38 virtual bool useNonBlockingMode() const;
39
45 virtual bool useBlockingMode() const;
46
49 virtual bool isUsingNonBlockingMode() const;
50
53 virtual int32_t ioCtl(int32_t command, void *arg) const;
54
55
63 bool lingerOnClose(int32_t timeout);
64
71 bool dontLingerOnClose();
72
77 bool reuseAddresses();
78
83 bool dontReuseAddresses();
84
91 virtual bool listen(int32_t backlog);
92
93 #include <rudiments/private/socketserver.h>
94 };
95
96 #endif
server
Definition: server.h:11
socketserver
Definition: socketserver.h:11
socketserver::ioCtl
virtual int32_t ioCtl(int32_t command, void *arg) const
socketserver::listen
virtual bool listen(int32_t backlog)
socketserver::lingerOnClose
bool lingerOnClose(int32_t timeout)
socketserver::isUsingNonBlockingMode
virtual bool isUsingNonBlockingMode() const
socketserver::socketserver
socketserver(const socketserver &s)
socketserver::dontLingerOnClose
bool dontLingerOnClose()
socketserver::dontReuseAddresses
bool dontReuseAddresses()
socketserver::~socketserver
virtual ~socketserver()
socketserver::useBlockingMode
virtual bool useBlockingMode() const
socketserver::operator=
socketserver & operator=(const socketserver &s)
socketserver::useNonBlockingMode
virtual bool useNonBlockingMode() const
socketserver::reuseAddresses
bool reuseAddresses()
socketserver::supportsBlockingNonBlockingModes
virtual bool supportsBlockingNonBlockingModes()
socketserver::socketserver
socketserver()