Rudiments
Main Page
Classes
include
rudiments
inetsocketserver.h
1
// Copyright (c) 2002 David Muse
2
// See the COPYING file for more information.
3
4
#ifndef RUDIMENTS_INETSOCKETSERVER_H
5
#define RUDIMENTS_INETSOCKETSERVER_H
6
7
#include <rudiments/private/inetsocketserverincludes.h>
8
9
class
inetsocketserverprivate;
10
21
class
RUDIMENTS_DLLSPEC
inetsocketserver
:
public
socketserver
,
private
inetsocketutil
{
22
public
:
23
25
inetsocketserver
();
26
29
inetsocketserver
(
const
inetsocketserver
&i);
30
33
inetsocketserver
&
operator=
(
const
inetsocketserver
&i);
34
36
virtual
~
inetsocketserver
();
37
57
bool
listen
(
const
char
*address,
58
uint16_t port,
59
int32_t backlog);
60
61
62
67
bool
initialize
(
const
char
*address, uint16_t port);
68
72
bool
bind
();
73
79
bool
listen
(int32_t backlog);
80
86
filedescriptor
*
accept
();
87
92
uint16_t getPort();
93
94
#include <rudiments/private/inetsocketserver.h>
95
};
96
97
#endif
Generated on Fri Mar 7 2014 14:08:54 for Rudiments by
1.8.3.1