37 #include <visp3/core/vpConfig.h>
38 #include <visp3/core/vpDebug.h>
39 #include <visp3/core/vpException.h>
40 #include <visp3/core/vpNetwork.h>
41 #include <visp3/core/vpRequest.h>
42 #include <visp3/core/vpTime.h>
45 #ifdef VISP_HAVE_FUNC_INET_NTOP
170 unsigned int m_numberOfAttempts;
172 bool connectServer(vpNetwork::vpReceptor &serv);
178 bool connectToHostname(
const std::string &hostname,
const unsigned int &port_serv);
179 bool connectToIP(
const std::string &ip,
const unsigned int &port_serv);
181 void deconnect(
const unsigned int &index = 0);
This class represents a Transmission Control Protocol (TCP) client.
void setNumberOfAttempts(const unsigned int &nb)
unsigned int getNumberOfAttempts()
unsigned int getNumberOfServers()
This class represents a Transmission Control Protocol (TCP) network.
void print(const char *id="")