Rudiments: /home/dmuse/src/rudiments/include/rudiments/inetsocketclient.h Source File

Rudiments

- Main Page
- Classes

inetsocketclient.h
1 // Copyright (c) 2002 David Muse
2 // See the COPYING file for more information.
3
4 #ifndef RUDIMENTS_INETSOCKETCLIENT_H
5 #define RUDIMENTS_INETSOCKETCLIENT_H
6
7 #include <rudiments/private/inetsocketclientincludes.h>
8
9 class inetsocketclientprivate;
10
17 class RUDIMENTS_DLLSPEC inetsocketclient : public socketclient, private inetsocketutil {
18 public:
19
21 inetsocketclient();
22
25 inetsocketclient(const inetsocketclient &i);
26
29 inetsocketclient &operator=(const inetsocketclient &i);
30
32 virtual ~inetsocketclient();
33
42 int32_t connect(const char *host,
43 uint16_t port,
44 int32_t timeoutsec,
45 int32_t timeoutusec,
46 uint32_t retrywait,
47 uint32_t tries);
48
49
50
55 void initialize(constnamevaluepairs *cd);
56
60 void initialize(const char *host,
61 uint16_t port,
62 int32_t timeoutsec,
63 int32_t timeoutusec,
64 uint32_t retrywait,
65 uint32_t tries);
66
145 int32_t connect();
146
159 void randomizeAddresses(uint32_t seed);
160
166 void dontRandomizeAddresses();
167
168 #include <rudiments/private/inetsocketclient.h>
169 };
170
171 #endif
socketclient
Definition: socketclient.h:13
inetsocketclient
Definition: inetsocketclient.h:17
inetsocketutil
Definition: inetsocketutil.h:13
inetsocketutil::operator=
inetsocketutil & operator=(const inetsocketutil &i)
inetsocketutil::initialize
void initialize(const char *address, uint16_t port)
client::connect
virtual int32_t connect()