Topic Path: Symbol Reference > Classes > TIdFSP Class > TIdFSP Properties > ServerMaxPacketSize Property
TIdFSP.ServerMaxPacketSize Property

Represents the maximum size for packets from the server in FSP protocol exchanges.

property ServerMaxPacketSize: Word;

ServerMaxPacketSize is a read-only Word property that represents the maximum packet size to expect from the server in FSP protocol exchanges. 

ServerMaxPacketSize is used in conjunction with ClientMaxPacketSize to determine the buffer size allocated for UDP packets exchanged in methods implementing the various FSP commands. 

ClientMaxPacketSize and ServerMaxPacketSize are also used to determine the amount of space available for the payload (non-header values) contained in FSP packets. 

The default value for ServerMaxPacketSize is DEF_MAXSIZE, as assigned when establishing the FSP session in the Connect method. The value in ServerMaxPacketSize is updated using a value in the FSP protocol response returned in the Version method when ThruputControl is enabled for the server implementation.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.