Skip to main content
Open topic with navigation CAPL Functions » Ethernet » Function Overview » IP_Endpoint

IP_Endpoint

Valid for: CANoe DE • CANoe4SW DE • CANoe:lite DE • CANoe4SW:lite DE

Function Syntax

  • IP_Endpoint <endpoint> <var name>; // form 1
  • IP_Endpoint <var name>; // form 2

Method Syntax

Description

Initializes a variable of type IP_Endpoint with a concrete IP endpoint (form 1) or without an IP endpoint (form 2).

Parameters

  • endpoint: An IPv4 or IPv6 address and port number separated by a colon.
  • var name: Character string defining the object’s variable name.

Selectors

  • PortNumber: Accesses the port number. The byte order is host byte order.
  • IP_Address: IP_Address object representing the IP_Endpoint’s IP address.

Example

See Also