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

SQL Anywhere 10.0.1 » MobiLink - Client Administration » UltraLite Synchronization Parameters and Network Protocol options » Synchronization parameters for UltraLite

Stream Error synchronization parameter Next Page

Stream Type synchronization parameter


Set the MobiLink network protocol to use for synchronization.

Syntax

The syntax varies depending on the API you use. You can also set this parameter with ulsync.

Remarks

This parameter is required. It has no default value.

Most network protocols require protocol options to identify the MobiLink server address and other behavior. These options are supplied in the Stream Parameters parameter. See Stream Parameters synchronization parameter.

When the network protocol requires an option, pass that option using the Stream Parameters parameter; otherwise, set the Stream Parameters parameter to null.

The following stream types are available, but not all are available on all target platforms:

Network protocol

Description

HTTP

Synchronize over HTTP.

HTTPS

Synchronize over HTTPS.

The HTTPS protocol uses TLS as its underlying security layer. It operates over TCP/IP.

TCP/IP

Synchronize over TCP/IP.

TLS

Synchronize over TCP/IP with transport-layer security security (TLS). TLS secures client/server communications using digital certificates and public-key cryptography.

For a list of supported platforms, see the UltraLite table in [external link] SQL Anywhere 10.0.1 Components by Platform.

See also
Example

For UltraLite for C/C++ applications, set the parameter as follows:

Connection conn;
auto ul_synch_info_a info;
...
conn.InitSynchInfo( &info );
info.stream = "http";