UltraLite Database User's Guide
Synchronization for UltraLite Applications
Stream parameters reference
The TCP/IP synchronization stream is accessible from all UltraLite interfaces.
To select TCP/IP as the synchronization stream:
In UltraLite for MobileVB and UltraLite ActiveX, choose ulTCPIP from the ULStreamType enumeration as the ULSyncParms.Stream.
In Native UltraLite for Java, supply StreamType.TCPIP as the argument for SyncParms.setStream().
For more information, see ianywhere.native_ultralite.StreamType and ianywhere.native_ultralite.SyncParms in the Native UltraLite for Java API Reference.
In embedded SQL or the static C++ API, supply ULSocketStream() as the stream synchronization parameter.
For more information, see ULSocketStream function.
In the static Java API,
For more information, see stream synchronization parameter.
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. |