Project Chrono: chrono::utils::ChSocketHostInfo Class Reference

Public Member Functions | List of all members
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 (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:

- D:/W/B/src/chrono-9.0.1/src/chrono/utils/ChSocket.h
- D:/W/B/src/chrono-9.0.1/src/chrono/utils/ChSocket.cpp