Rudiments

inetsocketclient.h
1 // Copyright (c) 1999-2018 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
15 class RUDIMENTS_DLLSPEC inetsocketclient : public socketclient, private inetsocketutil {
16 public:
17
19 inetsocketclient();
20
23 inetsocketclient(const inetsocketclient &i);
24
27 inetsocketclient &operator=(const inetsocketclient &i);
28
30 virtual ~inetsocketclient();
31
40 int32_t connect(const char *host,
41 uint16_t port,
42 int32_t timeoutsec,
43 int32_t timeoutusec,
44 uint32_t retrywait,
45 uint32_t tries);
46
47
48
53 void initialize(constnamevaluepairs *cd);
54
58 void initialize(const char *host,
59 uint16_t port,
60 int32_t timeoutsec,
61 int32_t timeoutusec,
62 uint32_t retrywait,
63 uint32_t tries);
64
143 int32_t connect();
144
157 void randomizeAddresses(uint32_t seed);
158
164 void dontRandomizeAddresses();
165
166 #include <rudiments/private/inetsocketclient.h>
167 };
168
169 #endif
inetsocketclient
Definition: inetsocketclient.h:15
inetsocketclient::inetsocketclient
inetsocketclient()
inetsocketclient::inetsocketclient
inetsocketclient(const inetsocketclient &i)
inetsocketclient::initialize
void initialize(const char *host, uint16_t port, int32_t timeoutsec, int32_t timeoutusec, uint32_t retrywait, uint32_t tries)
inetsocketclient::initialize
void initialize(constnamevaluepairs *cd)
inetsocketclient::randomizeAddresses
void randomizeAddresses(uint32_t seed)
inetsocketclient::operator=
inetsocketclient & operator=(const inetsocketclient &i)
inetsocketclient::~inetsocketclient
virtual ~inetsocketclient()
inetsocketclient::connect
int32_t connect()
inetsocketclient::connect
int32_t connect(const char *host, uint16_t port, int32_t timeoutsec, int32_t timeoutusec, uint32_t retrywait, uint32_t tries)
inetsocketclient::dontRandomizeAddresses
void dontRandomizeAddresses()
inetsocketutil
Definition: inetsocketutil.h:11
socketclient
Definition: socketclient.h:11