Packet Sniffer SDK VCL Edition

HNFileAdapter :: Properties :: MaxPacketSize

 Previous Next

Sets/Returns maximal size of packet to be dumped to a CAP file (needed for some formats).

Syntax:

property MaxPacketSize: DWORD;

Description:

Use MaxPacketSize to get the maximal packet size for current CAP file.

To create a CAP file (see CreateFile) you should predetermine maximal packet size for packet which will be written to this file. This size value will be stored in CAP file for further off-line processing.

See also:HNFileAdapter, CreateFile