TApxComPort.OutSize

TApxComPort

property OutSize : Word

Default: 8192

Determines the size, in bytes, of the output buffer used by the communications driver.

OutSize must be large enough to hold the largest block of data that you might transmit at one time (using PutBlock, for example). For file transfer protocols OutSize must be at least 2078 bytes. The recommended setting is 8192, which is large enough to work with all protocols but not so large that it is wasteful.

To obtain a non-default buffer size, OutSize must be set before the port is opened.

See also: Open, InSize