Rudiments
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 
22 
26 
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 retrycount);
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 retrycount);
66 
96  int32_t connect();
97 
98  #include <rudiments/private/inetsocketclient.h>
99 };
100 
101 #endif