Packet Sniffer SDK DLL Edition

HNAdapterConfig :: Properties :: AdpCfgGetZeroBroadcastState

 Previous Next

Returns the status of IP zero broadcast usage.

Syntax:

BOOL __stdcall AdpCfgGetZeroBroadcastState(HANDLE hCfg);

Parameters:

hCfg

[in] HNAdapterConfig object handle.

Return values:

If the function succeeds the return value will be the status of IP zero broadcast usage.

Description:

If the AdpCfgGetZeroBroadcastState returns TRUE, then the system is using zero-broadcasts (0.0.0.0) instead of one-broadcasts (255.255.255.255). Most systems use one-broadcasts, but systems derived from BSD implementations use zero-broadcasts.

The returned value may be useful if your application analyses received packets, or generates its own ones.

See also:HNAdapterConfig