Basic network connection operations. More...
Public Member Functions | |
| None | NetworkConnection (self, Union[str, int] ip_address, int port) |
| Create network connection information from IP address and port. | |
| str | to_ip_address (int ip) |
| Creates an IPAddress from the given uint ip. | |
| int | to_ip_address_uint (str ip_address) |
| Creates an uint IPAddress from the given ip string. | |
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.
| None NetworkConnection | ( | self, | |
| Union[str, int] | ip_address, | ||
| int | port ) |
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.