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();
#include <rudiments/private/unixsocketserver.h>
};
#endif