Jump to main content

##

# TCPIP_STACK_NetIsReady Function

## C

    bool TCPIP_STACK_NetIsReady(
        TCPIP_NET_HANDLE hNet
    );

## Description

This function returns the network interface configuration status.

## Preconditions

The TCP/IP stack should have been initialized by TCPIP_STACK_Initialize() and the TCPIP_STACK_Status() returned SYS_STATUS_READY. The network interface should be up and running.

## Parameters

Parameters | Description
--- | ---
hNet | Interface handle.

## Returns

- True - If interface exists, the corresponding MAC is linked and the interface is properly configured and ready for transfers.
- False - If the interface does not exists or interface not ready.

## Remarks

This function should be checked by all users to return true before starting uperations on that interface.