ConstReturns your system's default gateway IPv6 address, or undefined if one isn't available.
Same idea as get_gateway_ipv4, but for IPv6 networks.
Looks up the MAC address for a device on your local network by its IP address.
Works by pinging the target first (to populate the ARP table), then reading the system ARP cache. Supports Linux, macOS, and Windows out of the box.
Returns your system's default gateway IPv4 address, or
undefinedif one isn't available.Handy for discovering the local router so you can pass it straight into lookup.