Packet Sniffer SDK DLL Edition

HNTcpSession :: Properties :: TcpSesGetClientIP

 Previous Next

Returns IP address of the client participating in the connection.

Syntax:

DWORD __stdcall TcpSesGetClientIP(HANDLE hTcpSes);

Parameters:

hTcpSes

[in] HNTcpSession object handle.

Return values:

If the function succeeds the return value will be IP address of the client participating in the connection.

Description:

Use TcpSesGetClientIP to get the IP address of the client participating in the connection. This value is set by HNTcpManager object at the moment of the object creation.

See also:HNTcpSession, HNTcpManager