Skip to main content

SomeIpGetDestinationPort

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

Description

This function returns the destination port (UDP/TCP).

Parameters

  • messageHandle: Handle of the received SOME/IP message Note: This function can only be called within the OnSomeIpMessage callback function.

Return Values

  • Destination port: In the event of an error, the function returns the value 0. The SomeIpGetLastError function can then be used to check whether the value is valid or an error has occurred.

Example

See Also