TCPIP_STACK_NetAddressBcast Function

C

uint32_t TCPIP_STACK_NetAddressBcast(
    TCPIP_NET_HANDLE netH
);

Description

The function returns the network interface broadcast address. The interface should be enabled for this function to work.

Preconditions

The TCPIP_STACK_Initialize() function must have been called before calling this function. The network interface should be up and running.

Parameters

ParametersDescription
netHInterface handle to get address of.

Returns

  • Broadcast IP address of that interface.

  • 0 if no such interface.

Remarks

None.