chrono::utils::ChSocketHostInfo Class Reference

Description

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

#include <ChSocket.h>

Public Member Functions

 ChSocketHostInfo ()
 Initialize host information using standard parameters.
 
 ChSocketHostInfo (const std::string &host_name, HostType type)
 Retrieve host information based on the host name or address.
 
 ~ChSocketHostInfo ()
 Close and destroy the host information 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