Packet Sniffer SDK DLL Edition

HNLBSession :: Properties :: LbSesGetDirection

 Previous Next

Returns the direction of TCP session creation as it is defined in the HNLBDirection enumeration.

Syntax:

DWORD __stdcall LbSesGetDirection(HANDLE hLbSes);

Parameters:

hLbSes

[in] HNLBSession object handle.

Return values:

If the function succeeds the return value will be the direction of TCP session creation defined in the HNLBDirection enumeration.

Description:

Use LbSesGetDirection to detect the initiator of TCP Session.

See also:HNLBSession, HNLBDirection