Packet Sniffer SDK VCL Edition

Constants Enumerations :: HNLBDirection

 Previous Next

HNLBDirection enumeration contains possible directions of the packet receiving operation, establishing of TCP session, or TCP session closing.

Syntax:

const ldUnknown = -1; 
const ldL2R     = 0;
const ldR2L     = 1;

Values:

ldUnknown

Unknown direction (error).

ldL2R

Direction is local to remote. Means (depends on event handler): sending a packet from the localhost to remote one, establishing of TCP session by the localhost initiative, closing of TCP session by the localhost.

ldR2L

Direction is remote to local. Means (depends on event handler): sending a packet from the remote host to the local one, establishing of TCP session by the remote host initiative, closing of TCP session by the remote host.

See also:HNLBHosts