Rudiments
Main Page
Classes
include
rudiments
inetserversocket.h
1
// Copyright (c) 2002 David Muse
2
// See the COPYING file for more information.
3
4
#ifndef RUDIMENTS_INETSERVERSOCKET_H
5
#define RUDIMENTS_INETSERVERSOCKET_H
6
7
#include <rudiments/private/inetserversocketincludes.h>
8
9
#ifdef RUDIMENTS_NAMESPACE
10
namespace
rudiments {
11
#endif
12
13
class
inetserversocketprivate;
14
25
class
RUDIMENTS_DLLSPEC
inetserversocket
:
public
serversocket
,
private
inetsocketutil
{
26
public
:
27
29
inetserversocket
();
30
33
inetserversocket
(
const
inetserversocket
&i);
34
37
inetserversocket
&operator=(
const
inetserversocket
&i);
38
40
virtual
~
inetserversocket
();
41
60
bool
listen(
const
char
*address,
61
uint16_t port,
62
int32_t backlog);
63
64
65
70
bool
initialize(
const
char
*address, uint16_t port);
71
75
bool
bind();
76
82
bool
listen(int32_t backlog);
83
89
filedescriptor
*accept();
90
95
uint16_t getPort();
96
97
#include <rudiments/private/inetserversocket.h>
98
};
99
100
#ifdef RUDIMENTS_NAMESPACE
101
}
102
#endif
103
104
#endif
Generated on Wed Aug 1 2012 18:51:46 for Rudiments by
1.8.1.1