unixsocketserver.h
// Copyright (c) 2002 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_UNIXSOCKETSERVER_H
#define RUDIMENTS_UNIXSOCKETSERVER_H
#include <rudiments/private/unixsocketserverincludes.h>
class unixsocketserverprivate;
class RUDIMENTS_DLLSPEC unixsocketserver : public socketserver, private unixsocketutil {
public:
unixsocketserver();
unixsocketserver(const unixsocketserver &u);
unixsocketserver &operator=(const unixsocketserver &u);
virtual ~unixsocketserver();
bool listen(const char *filename,
mode_t mask,
int32_t backlog);
bool initialize(const char *filename, mode_t mask);
bool bind();
bool listen(int32_t backlog);
filedescriptor *accept();
bool close();
#include <rudiments/private/unixsocketserver.h>
};
#endif
unixsocketutil::initialize
void initialize(const char *filename)
unixsocketserver
Definition: unixsocketserver.h:33
server::accept
virtual filedescriptor * accept()
unixsocketutil
Definition: unixsocketutil.h:13
socketserver::operator=
socketserver & operator=(const socketserver &s)
socketserver::listen
virtual bool listen(int32_t backlog)
socketserver
Definition: socketserver.h:13
filedescriptor
Definition: filedescriptor.h:14
filedescriptor::close
virtual bool close()
server::bind
virtual bool bind()