chrono::cosimul::ChHostInfo Class Reference

Description

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

#include <ChHostInfo.h>

Public Member Functions

 ChHostInfo ()
 Default constructor.
 
 ChHostInfo (const std::string &hostName, hostType type)
 Retrieves the host entry based on the host name or address.
 
 ~ChHostInfo ()
 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_cosimulation/ChHostInfo.h
  • /builds/uwsbel/chrono/src/chrono_cosimulation/ChHostInfo.cpp