|
group2 0.1.0
CSE 125 Group 2
|
Platform helpers for selecting a displayable local LAN IPv4 address. More...
#include "LocalAddress.hpp"#include <arpa/inet.h>#include <ifaddrs.h>#include <net/if.h>#include <netinet/in.h>Namespaces | |
| namespace | local_address |
Functions | |
| std::string | local_address::firstLanIPv4 () |
| Return the first active non-loopback LAN IPv4 address, or 127.0.0.1 if none is found. | |
Platform helpers for selecting a displayable local LAN IPv4 address.