UltraLite User's Guide
Developing Applications for the Palm Computing Platform
Adding TCP/IP, HTTP, or HTTPS synchronization to Palm applications
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 (embedded SQL) or the ULConnection.Synchronize method (C++ API) to carry out the synchronization.
When using TCP/IP, HTTP, or HTTPS synchronization, ULPalmLaunch and ULPalmExit save and restore the state of the application on exiting and activating the application, but do not participate in synchronization. These functions take the ul_synch_info structure as an argument, but in this case do not use it. You should set the stream member to NULL (the default) when calling ULPalmExit or ULPalmLaunch.
When using TCP/IP, HTTP, or HTTPS synchronization from a Palm device, you must specify an explicit host name or IP number in the stream_parms member of the ul_synch_info structure. Specifying NULL defaults to localhost
, which represents the device, not the host.
For information on the ul_synch_info structure, see Synchronization stream parameters.