Open topic with navigation CAPL Functions » Ethernet » Function Overview » IP_Address::GetAddressAsArrayDocumentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
IP_Address::GetAddressAsArray
Valid for: CANoe DE • CANoe4SW DEMethod Syntax
long IP_Address::GetAddressAsArray(byte ipAddr[]); // form 1long IP_Address::GetAddressAsArray(char ipAddr[]); // form 2
Description
Copies the current IP address to the byte array whereas the byte array’s size needs to fit the current IP address value.Parameters
—Return Values
- 0: Success
- 1: Array size does not fit the current IP address
- 2: Object has not been set to a valid address