mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Add test for interface IP detection tools
This commit is contained in:
committed by
Dennis Klein
parent
5e4876c947
commit
0b199e779a
@@ -32,7 +32,7 @@ namespace tools
|
||||
{
|
||||
|
||||
// returns a map with network interface names as keys and their IP addresses as values
|
||||
int getHostIPs(std::map<std::string, std::string>& addressMap);
|
||||
std::map<std::string, std::string> getHostIPs();
|
||||
|
||||
// get IP address of a given interface name
|
||||
std::string getInterfaceIP(const std::string& interface);
|
||||
|
Reference in New Issue
Block a user