Contents Index TCP/IP stream parameters HTTPS stream parameters pdf/preface.pdf

UltraLite User's Guide
  UltraLite Reference
    Synchronization stream parameters

HTTP stream parameters


The HTTP synchronization stream is accessible from C/C++ applications by using the ULHTTPStream() function , or from Java applications by using the UlHTTPStream object.

Synchronization stream parameters for the HTTP 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.

version= versionnumber A string specifying the version of HTTP to use. You have a choice of 1.0 or 1.1. The default value is 1.1.
host=hostname The host name or IP number for the machine on which the MobiLink synchronization server is running. The default value is localhost.

For Windows CE, the default value is the value of ipaddr in the registry folder Comm\Tcpip\Hosts\ppp_peer. This allows a CE device to connect to a MobiLink synchronization server executing on the desktop machine where the CE device's cradle is connected.

For the Palm Computing Platform, the default value of localhost refers to the device. It is recommended that an explicit host name or IP address be specified.

keep_alive In some circumstances, MobiLink worker threads become unavailable when connections disappear during synchronization. These blocked worker threads are waiting for replies from the MobiLink client. If all worker threads reach this state, MobiLink cannot process synchronizations. Similarly, MobiLink clients can become blocked if the connection disappears.

The keep_alive parameter manages liveness. The default is 1 (On). Set the parameter to 0 (Off) to disable liveness checking for this connection.

port=portnumber The socket port number. 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 80.
proxy_host= proxy_hostname The host name of the proxy server.
proxy_port= proxy_portnumber The port number of the proxy server. The default value is 80.
url_suffix=suffix The suffix to add to the URL on the first line of each HTTP request. When synchronizing through a proxy server, the suffix may be necessary in order to find the MobiLink synchronization server. The default value is MobiLink.

Contents Index TCP/IP stream parameters HTTPS stream parameters pdf/preface.pdf