inetsocketserver.h
// Copyright (c) 2002 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_INETSOCKETSERVER_H
#define RUDIMENTS_INETSOCKETSERVER_H
#include <rudiments/private/inetsocketserverincludes.h>
class inetsocketserverprivate;
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
server::accept
virtual filedescriptor * accept()
inetsocketutil
Definition: inetsocketutil.h:13
inetsocketutil::operator=
inetsocketutil & operator=(const inetsocketutil &i)
inetsocketutil::initialize
void initialize(const char *address, uint16_t port)
socketserver::listen
virtual bool listen(int32_t backlog)
socketserver
Definition: socketserver.h:13
filedescriptor
Definition: filedescriptor.h:14
inetsocketserver
Definition: inetsocketserver.h:21
server::bind
virtual bool bind()