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 » Embedded SQL API Reference

ULSocketStream function (deprecated) Next Page

ULSynchronize function


Initiates synchronization in an UltraLite application.

Syntax

void ULSynchronize(
SQLCA * sqlca,
ul_synch_info * synch_info );

Parameters

sqlca    A pointer to the SQLCA.

synch_info    A synchronization structure. Synchronization specifics are controlled through a set of synchronization parameters. For more information about these parameters, see ul_synch_info_a struct.

Remarks

For TCP/IP or HTTP synchronization, the ULSynchronize function initiates synchronization. Errors during synchronization that are not handled by the handle_error script are reported as SQL errors. Your application should test the SQLCODE return value of this function.