Skip to main content
Open topic with navigation CAPL Functions » TCP/IP API » IpGetAddressAsArray

IpGetAddressAsArray

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

Description

The function converts an address string in colon notation to a 16 byte array with the address bytes in network order.

Parameters

  • address: The numerical IPv4 address to be converted.
  • ipv6Address: The array used to store the converted IPv6 address as 16 byte array.

Return Values

  • 0xFFFFFF: The specified address string was invalid.
  • 0x0: The function completed successfully, the result is stored into an array.

Example