The AGS_SOCKET_COMPRESS variable allows you to specify one of three data compression settings:
|NONE (default)||No compression is performed.|
Socket data is compressed using the same algorithm as the
gzip compression utility.
All versions of Windows support ZLIB compression, but some UNIX machines do not. When ZLIB compression is specified on a machine that does not support the format, RUNLENGTH compression is automatically used instead.
|RUNLENGTH||Socket data is compressed using simple compression based on counting repeated bytes of data.|
Note that RUNLENGTH compression is much faster than ZLIB compression. ZLIB compression, however, can compress data much more than RUNLENGTH compression.
The AGS_SOCKET_COMPRESS variable must be set before any socket communication is performed and cannot be changed via SET ENVIRONMENT.