Compressing data packets
With Easy Compression Library you can compress and/or encrypt data packets before transmitting it via network. Thus you can transmit your data in fast and easy way.
The easiest way of using Easy Compression Library in network applications is to use TECLMemoryStream or TECLFileStream for compressing data. The most common method is to use CompressedDataStream property - TStream descendant object with compresed and encrypted data.
You can read more about it in Reference Guide.
Also take a look at Indy demo supplied with ECL to see how to use it with Indy TCP components.
|