Packet Sniffer SDK DLL Edition

HNTcpSession :: Properties :: TcpSesGetServerIP

 Previous Next

Returns IP address of the server participating in the connection.

Syntax:

DWORD __stdcall TcpSesGetServerIP(HANDLE hTcpSes);

Parameters:

hTcpSes

[in] HNTcpSession object handle.

Return values:

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

Description:

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

See also:HNTcpSession