Set the MobiLink network protocol to use for synchronization.
The syntax varies depending on the API you use. You can also set this parameter with ulsync.
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 SQL Anywhere 10.0.1 Components by Platform.
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";