TCPIP_STACK_NetNameGet Function

C

const char* TCPIP_STACK_NetNameGet(
    TCPIP_NET_HANDLE netH
);

Description

This function returns the name associated with the 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

ParametersDescription
netHInterface handle to get the name of.

Returns

  • The name associated to the interface handle.

  • 0 if no such name exists.

Remarks

None.

Example

TCPIP_NET_HANDLE netH = TCPIP_STACK_IndexToNet(0);
const char* netName = TCPIP_STACK_NetNameGet(netH);