Contents Index HotSync synchronization stream parameters HTTP stream parameters

UltraLite Database User's Guide
   Synchronization for UltraLite Applications
    Stream parameters reference

TCP/IP stream parameters


The TCP/IP synchronization stream is accessible from all UltraLite interfaces.

Selecting the TCP/IP synchronization stream 

To select TCP/IP as the synchronization stream:

Stream parameters 

Synchronization stream parameters for the TCP/IP stream are chosen from the following table:

Parameter Description
client_port=nnnnn

client_port=nnnnn-mmmmm

A range of client ports for communication. If only one value is specified, the end of the range is 100 greater than the initial value, for a total of 101 ports.

The option can be useful for clients inside a firewall communicating with a MobiLink synchronization server outside the firewall.

host=hostname The host name or IP number for the machine on which the MobiLink synchronization server is running. The default value is localhost, except on Windows CE.

For Windows CE, the default setting corresponds to the desktop machine where the CE device's cradle is connected, which is stored as the ipaddr entry in the registry folder Comm\Tcpip\Hosts\ppp_peer. Do not use localhost, which refers to the device itself, on Windows CE.

For the Palm Computing Platform, the default value of localhost refers to the device itself. You should supply an explicit host name or IP address to connect to a desktop machine.

liveness_timeout=n The amount of time, in seconds, after a client stops communicating before MobiLink recovers the connection. A value of 0 means that there is no timeout. This option is only effective if download acknowledgement if set to off. The default is 120 seconds.
port=portnumber The socket port number on the host machine. The port number must be a decimal number that matches the port the MobiLink synchronization server is setup to monitor. The default value for the port parameter is 2439, which is the IANA registered port number for the MobiLink synchronization server.

Contents Index HotSync synchronization stream parameters HTTP stream parameters