次のコードは、TCP/IP の同期を開始します。Mobile Link ユーザー名は Betty Best
、パスワードは TwentyFour
、スクリプトバージョンは default
です。Mobile Link サーバーはホストコンピューターtest.internal
で実行されており、ポート 2439
を使用しています。
ul_sync_info synch_info; ULInitSyncInfo( &synch_info ); synch_info.user_name = UL_TEXT("Betty Best"); synch_info.password = UL_TEXT("TwentyFour"); synch_info.version = UL_TEXT("default"); synch_info.stream = ULSocketStream(); synch_info.stream_parms = UL_TEXT("host=test.internal;port=2439"); ULSynchronize( &sqlca, &synch_info ); |
![]() |
DocCommentXchange で意見交換できます
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |