maxon.NetworkIpAddrInterface¶
Description¶
Methods Signature¶
  | 
Deprecated since version 20.  | 
Returns the type of the IP address used in this object.  | 
|
Returns the type of the IP address used in this object.  | 
|
  | 
Retrieves the string representation of the current IP address.  | 
  | 
Sets an IP v4 address from the native in_addr structure.  | 
  | 
Sets an IP v6 address from the native in_addr structure.  | 
  | 
Return str(self).  | 
Methods Definition¶
- 
NetworkIpAddrInterface.Flush()¶ Deprecated since version 20: Use
NetworkIpAddrInterface.Reset()instead.
- 
NetworkIpAddrInterface.GetNativeProtocol()¶ Returns the type of the IP address used in this object.
- Returns
 The Protocol type.
- Return type
 int
- 
NetworkIpAddrInterface.GetProtocol()¶ Returns the type of the IP address used in this object.
- Returns
 The IP address type.
- Return type
 
- 
NetworkIpAddrInterface.GetString(port=0)¶ Retrieves the string representation of the current IP address.
- Parameters
 port (int) – The port to be appended at the end of the IP address.
- Returns
 The string representation of the current IP address.
- Return type
 str
- 
NetworkIpAddrInterface.SetIPv4()¶ Sets an IP v4 address from the native in_addr structure.
- 
NetworkIpAddrInterface.SetIPv6()¶ Sets an IP v6 address from the native in_addr structure.
- 
NetworkIpAddrInterface.__str__()¶ Return str(self).