-pc option

Maintain a persistent connection to the MobiLink server between synchronizations.

Syntax
dbmlsync -pc+ ...
Remarks

When this option is specified, dbmlsync connects to the MobiLink server as usual, but it then keeps that connection open for use with subsequent synchronizations. A persistent connection is closed when any of the following occur:

  • An error occurs that causes a synchronization to fail.
  • Liveness checking has timed out.

    See timeout.

  • A synchronization is initiated in which the communication type or address are different. This could mean that the settings are different (for example, a different host is specified), or that they are specified in a different way (for example, the same host and port are specified, but in a different order).

When a persistent connection is closed, a new connection is opened that is also persistent.

This option is most useful when the client synchronizes frequently and the cost of establishing a connection to the server is high.

By default, persistent connections are not maintained.