chrono::utils::ChSocketHostInfo Class Reference


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

#include <ChSocket.h>

Public Member Functions

 ChSocketHostInfo ()
 Default constructor.
 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 ()
 Retrieves the hosts IP address in dot x.y.z.w notation.
char * getHostName ()
 Retrieves 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