Specify the host name or IP number for the computer on which the MobiLink server is running, or, if you are synchronizing through a web server, the computer where the web server is running.
On Windows Mobile, do not use localhost, which refers to the remote device itself. The default value allows a Windows Mobile device to connect to a MobiLink server on the desktop computer to which the Windows Mobile device has an ActiveSync partnership.
For the Palm Computing Platform, the default value of localhost refers to the device. You should supply an explicit host name or IP address to connect to a desktop computer.
For information about how to set network protocol options with dbmlsync, see CommunicationAddress (adr) extended option.
For information about how to set network protocol options with UltraLite, see Network protocol options for UltraLite synchronization streams.
In the following example, the client connects to a computer called myhost at port 1234.
On a SQL Anywhere client, the implementation is:
dbmlsync -e "adr='host=myhost;port=1234'"
In an UltraLite application written in embedded SQL or C++, the implementation is:
synch_info.stream_parms = TEXT("host=myhost;port=1234");
|Envoyer votre avis sur cette page par email.||Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1|