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

SQL Anywhere 10.0.1 » UltraLite - C and C++ Programming » Tutorial: Build an Application Using Embedded SQL » Lesson 5: Add synchronization to your application

Lesson 5: Add synchronization to your application Next Page

Synchronization via TCP/IP


You can synchronize the remote database with the consolidated database using a TCP/IP socket connection (for example). Call ULEnableTcpipSynchronization (or a similar ULEnableXXX function) before issuing the call to ULSynchronize. For more information about types of synchronization, see Synchronization parameters for UltraLite.

To synchronize with the CustDB consolidated database, the application must supply a value for the employee ID field. This ID identifies an instance of an application to the MobiLink server. You may choose a value of 50, 51, 52, or 53. The MobiLink server uses this value to determine the download content, to record the synchronization state, and to recover from any interruptions during synchronization.

See ULSynchronize function.