Basic network connection operations. More...
Inherits object.
Public Member Functions | |
str | to_ip_address (int ip) |
Creates an IPAddress from the given uint ip. More... | |
int | to_ip_address_uint (str ip_address) |
Creates an uint IPAddress from the given ip string. More... | |
Properties | |
ip_address = property | |
str: Get the IP address as string. | |
ip_address_uint = property | |
int: Getthe IP address as int. | |
port = property | |
int: Get the port value. | |
Basic network connection operations.
Create network connection information from IP address and port.
ip_address : Union[str, int] IP address as string or integer.
port : int Port as unsigned integer.
str to_ip_address | ( | int | ip | ) |
Creates an IPAddress from the given uint ip.
ip : int IPv4 address as an int.
str New IPAddress as string.
int to_ip_address_uint | ( | str | ip_address | ) |
Creates an uint IPAddress from the given ip string.
ip_address : str IPv4 address as string.
int New IPAddressUInt as int.