Line # | Kind | Name | Docs |
---|---|---|---|
59 | Function | get_host_address | Retrieve current host address for Win32 and Linux platforms |
136 | Function | get_ip_address | Retrieve IP address of the given network interface, on a Windows platform |
28 | Function | _get_host_address_win | Retrieve host address for Win32 platform |
37 | Function | _get_host_address_linux | Retrieve host address for Linux platform |
74 | Function | _get_linux_ip_address | Retrieve IP address of the given network interface, on a Linux platform |
92 | Function | _get_win32_ipaddress | Retrieve IP address of the given network interface, on a Windows platform |
103 | Function | _get_win32_default_iface | Retrieve name of the network interface connected to the default |
113 | Function | _get_linux_default_iface | Retrieve name of the network interface connected to the default |
Returns | (type: string ) | |
Raises | ValueError | if current system's platform is not windows or linux |
Parameters | ifname | network interface name (type: string ) |
Returns | (type: string ) |
Parameters | ifname | network interface name (type: string ) |
Returns | (type: string ) |
Returns | (type: string ) |