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

IpGetAdapterChannel

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

Description

The function returns the number of the Ethernet channel (1 for Eth 1) to which the network adapter with the given index is attached.

Parameters

  • ifIndex: The 1-based network interface index.

Return Values

The Ethernet channel number or 0 if the given ifIndex was invalid.

Example