Packet Sniffer SDK DLL Edition

HNLBHosts :: Properties :: LbHstGetLocalPort

 Previous Next

Returns the port number of the local host participating in TCP session.

Syntax:

WORD __stdcall LbHstGetLocalPort(HANDLE hLbHst);

Parameters:

hLbHst

[in] HNLBHosts object handle.

Return values:

If the function succeeds the return value will be the port number of the local host participating in TCP session.

Description:

Use LbHstGetLocalPort to define the port number of the local host participating in TCP session.

See also:HNLBHosts