chrono::utils::ChSocketHostInfo Class Reference


Class for storing information about a TCP host in socket communication, e.g. with an IP address.

#include <ChSocket.h>

Public Member Functions

 ChSocketHostInfo (const std::string &hostName, hostType type)
 Retrieves the host entry based on the host name or address.
 ~ChSocketHostInfo ()
 Destructor. Closes the host entry database.
char * getHostIPAddress ()
 Retrieve the hosts IP address in dot x.y.z.w notation.
char * getHostName ()
 Retrieve the hosts name.

The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono/utils/ChSocket.h
  • /builds/uwsbel/chrono/src/chrono/utils/ChSocket.cpp