Module getip::libc_getips
source · [−]Expand description
Receive IP addresses of NICs with libc APIs.
- On Windows, API
GetAdaptersAddressesis used. - On unix-like systems,
getifaddrsandgetnameinfoare used.
Functions
Get all assigned IP addresses of family ip_type on the interface named iface_name.