Packet Sniffer SDK DLL Edition

HNTcpSession :: Properties :: TcpSesGetLastPacketTime

 Previous Next

Returns the time of receiving of the last packet participated in TCP connection.

Syntax:

DWORD __stdcall TcpSesGetLastPacketTime(HANDLE hTcpSes);

Parameters:

hTcpSes

[in] HNTcpSession object handle.

Return values:

If the function succeeds the return value will be the time of receiving of the last packet participated in TCP connection.

Description:

Use TcpSesGetLastPacketTime to get the time of receiving of the last packet participated in TCP connection.

This value is counted each time while TcpMgrProcessPacket function execution with the help of the GetTickCount() Win32 API function.

See also:HNTcpSession, TcpMgrProcessPacket