MsgCommunicator: Delphi Instant Messaging (IM) SDK
for easy creation of custom messenger system
Specifies the maximum size of packets in bytes.
property PacketSize: Integer;
Use PacketSize to specify the maximum size of packets in byte. If the buffer with command or message which client or server sends plus size of packet header will be less than PacketSize value (or equal to it), such buffer will be send in one packet with size less than PacketSize (or equal to it). In other case it will be split and send in multiple packets with size of PacketSize value (or less for the last packet).
|Note:||To optimize network performance we recommend to increase PacketSize value in case of huge buffers (more than 1 MB).