This section describes how to add TCP/IP, HTTP, or HTTPS synchronization to your Palm application.
For a general description of how to add synchronization to UltraLite applications, see Adding synchronization to your UltraLite application.
You can use transport-layer security with Palm applications built with CodeWarrior.
For more information about transport-layer security, see Encrypting MobiLink client/server communications.
Palm devices can synchronize using TCP/IP, HTTP, or HTTPS communication by setting the stream member of the ul_synch_info structure to the appropriate stream, and calling ULSynchronize or ULConnection.Synchronize to carry out the synchronization.
When using TCP/IP, HTTP, or HTTPS synchronization, db_init or db_fini save and restore the state of the application on exiting and activating the application, but do not participate in synchronization.
Before closing the application, set the synchronization information using ULSetSynchInfo, providing the ul_synch_info structure as an argument.
When using TCP/IP, HTTP, or HTTPS synchronization from a Palm device, you must specify an explicit host name or IP address
in the stream_parms member of the ul_synch_info structure. Specifying NULL defaults to
localhost, which represents the device, not the host.
For more information about the ul_synch_info structure, see Network protocol options for UltraLite synchronization streams.
|Send feedback about this page via email or DocCommentXchange||Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0|