45 #include <visp/vpConfig.h>
46 #include <visp/vpDebug.h>
47 #include <visp/vpException.h>
48 #include <visp/vpRequest.h>
49 #include <visp/vpNetwork.h>
50 #include <visp/vpTime.h>
170 unsigned int numberOfAttempts;
182 bool connectToHostname(
const std::string &hostname,
const unsigned int &port_serv);
183 bool connectToIP(
const std::string &ip,
const unsigned int &port_serv);
185 void deconnect(
const unsigned int &index = 0);
void print(const char *id="")
This class represents a Transmission Control Protocol (TCP) network.
void setNumberOfAttempts(const unsigned int &nb)
unsigned int getNumberOfServers()
This class represents a Transmission Control Protocol (TCP) client.
unsigned int getNumberOfAttempts()