inetsocketserver.h
// Copyright (c) 1999-2018 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_INETSOCKETSERVER_H
#define RUDIMENTS_INETSOCKETSERVER_H
#include <rudiments/private/inetsocketserverincludes.h>
class RUDIMENTS_DLLSPEC inetsocketserver : public socketserver, private inetsocketutil {
public:
inetsocketserver();
inetsocketserver(const inetsocketserver &i);
inetsocketserver &operator=(const inetsocketserver &i);
virtual ~inetsocketserver();
bool listen(const char *address,
uint16_t port,
int32_t backlog);
bool initialize(const char *address, uint16_t port);
bool bind();
bool listen(int32_t backlog);
filedescriptor *accept();
uint16_t getPort();
#include <rudiments/private/inetsocketserver.h>
};
#endif
filedescriptor
Definition: filedescriptor.h:13
inetsocketserver
Definition: inetsocketserver.h:19
inetsocketserver::listen
bool listen(int32_t backlog)
inetsocketserver::inetsocketserver
inetsocketserver(const inetsocketserver &i)
inetsocketserver::inetsocketserver
inetsocketserver()
inetsocketserver::~inetsocketserver
virtual ~inetsocketserver()
inetsocketserver::listen
bool listen(const char *address, uint16_t port, int32_t backlog)
inetsocketserver::bind
bool bind()
inetsocketserver::initialize
bool initialize(const char *address, uint16_t port)
inetsocketserver::operator=
inetsocketserver & operator=(const inetsocketserver &i)
inetsocketserver::accept
filedescriptor * accept()
inetsocketserver::getPort
uint16_t getPort()
inetsocketutil
Definition: inetsocketutil.h:11
socketserver
Definition: socketserver.h:11