42 #include <visp3/core/vpConfig.h> 43 #include <visp3/core/vpDebug.h> 44 #include <visp3/core/vpException.h> 45 #include <visp3/core/vpNetwork.h> 46 #include <visp3/core/vpRequest.h> 47 #include <visp3/core/vpTime.h> 50 #ifdef VISP_HAVE_FUNC_INET_NTOP 174 unsigned int numberOfAttempts;
180 bool connectServer(vpNetwork::vpReceptor &serv);
186 bool connectToHostname(
const std::string &hostname,
const unsigned int &port_serv);
187 bool connectToIP(
const std::string &ip,
const unsigned int &port_serv);
189 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()