TCPIP_STACK_NetIsLinked Function

C

bool TCPIP_STACK_NetIsLinked(
    TCPIP_NET_HANDLE hNet
);

Description

This function returns the network interface link 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

ParametersDescription
hNetInterface handle.

Returns

  • True - If interface exists and the corresponding MAC is linked.

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

Remarks

None.