Module network

Module network 

Source
Expand description

Network utility functions

Functionsยง

find_available_port
Find an available port in a given range
get_interface_addresses
Get the local IP addresses for a given interface
get_multicast_interfaces
Get interfaces that support multicast
get_network_interfaces
Get all available network interfaces on the system
is_loopback_ip
Check if an IP address is a loopback address
is_port_available
Check if a port is likely to be available for binding
is_private_ip
Check if an IP address is in a private range