FDXClientHandleUdp
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEFunction Syntax
long FDXClientHandleUdp(dword ipv4Address, dword port); // form 1long FDXClientHandleUdp(byte ipv6Address[], dword port); // form 2
Description
This function creates an FDX client handle for the FDX client with the specified address. Prerequisite for the function is to configure UPD/IPv4 or UDP/IPv6 as transport layer for the FDX feature.Parameters
- ipv4Address: IPv4 address of the FDX clients
- ipv6Address: IPv6 address of the FDX clients
- port: UPD port number of the FDX clients.
Return Values
If successful, the function returns a value greater than 0, which means the FDX client handle. Values smaller than or equal to zero indicate an error.- -1: The FDX feature is disabled in the CANoe DE product configuration or configured for another transport layer.