maxon.NetworkIpAddrPortInterface¶
Description¶
Provides an Internet Protocol (IP) address + port.
This class extends the
maxon.NetworkIpAddrInterface
with a port.Methods Signature¶
Returns the address without the port. |
|
|
Returns the port. |
|
Sets the port. |
Methods Definition¶
-
NetworkIpAddrPortInterface.
GetAddress
()¶ Returns the address without the port.
- Returns
Returns the address without the port.
- Return type
-
NetworkIpAddrPortInterface.
GetPort
(self)¶ Returns the port.
- Returns
The port or 0 if no port was set.
- Return type
int
-
NetworkIpAddrPortInterface.
SetPort
(port)¶ Sets the port.
- Parameters
port (int) – The port or 0 to reset port information.