Jump to main content

##

# TCPIP_STACK_IndexToNet Function

## C

    TCPIP_NET_HANDLE TCPIP_STACK_IndexToNet(
        int netIx
    );

## Description

This function converts an interface number to a network interface handle.

## Preconditions

The TCP/IP stack should have been initialized by TCPIP_STACK_Initialize() and the TCPIP_STACK_Status() returned SYS_STATUS_READY.

## Parameters

Parameters | Description
--- | ---
netIx | Interface index.

## Returns

- Network interface handle.

## Remarks

None.