TCPIP_STACK_NetIsUp Function

C

bool TCPIP_STACK_NetIsUp(
    TCPIP_NET_HANDLE hNet
);

Description

This function returns the network interface up or down (enabled) status.

Preconditions

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

Parameters

ParametersDescription
hNetInterface handle.

Returns

  • True - If interface exists and is enabled.

  • False - If the interface does not exist or is disabled.

Remarks

None.