host

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.

Syntax
host=hostname-or-ip
Protocols
Default
Remarks

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.

Example

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");