Packet Sniffer SDK DLL Edition

HNTcpManager :: Properties :: TcpMgrSetCheckTcpSum

 Previous Next

Sets the TCP packet checksum verification flag.

Syntax:

BOOL __stdcall TcpMgrSetCheckTcpSum(HANDLE hTcpMgr, BOOL CheckTcpSum);

Parameters:

hTcpMgr

[in] HNTcpManager object handle.

CheckTcpSum

[in] The value of the TCP packet checksum checking flag.

Return values:

If the function succeeds the return value will be the CheckTcpSum parameter value.

Description:

Use this property to change the value of the TCP packet checksum checking flag. Setting this flag in TRUE means that HNTcpManager component must verify checksum of each TCP packet in the TcpMgrProcessPacket function.

See also:HNTcpManager, TcpMgrProcessPacket, TcpMgrGetCheckTcpSum