gz/transport/NetUtils.hh File Reference
#include <string>
#include <vector>
#include "gz/transport/config.hh"
#include "gz/transport/Export.hh"
Go to the source code of this file.
Namespaces | |
gz | |
gz::transport | |
Functions | |
std::string | determineHost () |
Determine IP or hostname. Reference: https://github.com/ros/ros_comm/blob/hydro-devel/clients/ roscpp/src/libros/network.cpp. More... | |
std::vector< std::string > | determineInterfaces () |
Determine the list of network interfaces for this machine. Reference: https://github.com/ros/ros_comm/blob/hydro-devel/clients/ roscpp/src/libros/network.cpp. More... | |
std::string | hostname () |
Determine the computer's hostname. More... | |
int | hostnameToIp (char *_hostname, std::string &_ip) |
Determine if an IP is private. More... | |
bool | isPrivateIP (const char *_ip) |
Determine if an IP is private. Reference: https://github.com/ros/ros_comm/blob/hydro-devel/clients/ roscpp/src/libros/network.cpp. More... | |
std::string | username () |
Determine your login name. More... | |