UltraLite Embedded SQL User's Guide
Tutorial: Build an Application Using Embedded SQL
Lesson 4: Add synchronization to your application
You can synchronize the remote database with the consolidated database using a TCP/IP socket connection. Call ULSynchronize
with the ULSocketStream()
stream.
In order to synchronize with the CustDB consolidated database, the employee ID must be supplied. 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 interruptions during synchronization.
For more information about the ULSynchronize function, see ULSynchronize function.