Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » MobiLink - Client Administration » Introduction to MobiLink Clients » MobiLink client network protocol options

 

compression

Turns on or off compression of the synchronization stream between the MobiLink server and MobiLink clients.

Syntax
compression= { zlib | none }
Protocols
Support notes
Default

For UltraLite, compression is off by default.

For dbmlsync, zlib compression is used by default.

Attention

In SQL Anywhere clients, if you turn off compression the data is completely unobfuscated; if security is an issue, you should encrypt the stream.

See Transport-layer security.

Remarks

When you use zlib compression, you can configure the upload and download compression using the zlib_download_window_size option and zlib_upload_window_size option. Using these options, you can also turn off compression for either the upload or the download.

To use zlib compression in UltraLite, mlczlib10.dll must be deployed and for C++ only, applications must call ULEnableZlibSyncCompression( sqlca ).

See also
Example

The following option sets compression for upload only, and sets the upload window size to 9:

"compression=zlib;zlib_download_window_size=0;zlib_upload_window_size=9"