<< Click to display table of contents >>


Defines the maximal size of data fragment for sending.

property BufferSize: Cardinal;

The component sends data fragment by fragment, each fragment has size no more than BufferSize.

The larger BufferSize, the faster data are sent. However, some OS has limits (that can be different for TCP and UDP connections).

0 is a special value:

for Windows, a maximum possible fragment size is used (recommended)

for Linux, 8192 bytes is used.

Warning: some OS do not allow using BufferSize larger than 16384 for UDP connections.

Default value


See also