Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » MobiLink - Client Administration » MobiLink SQL Anywhere Client Extended Options

Introduction to dbmlsync extended options Next Page

CommunicationAddress (adr) extended option


Specifies network protocol options for connecting to the MobiLink server.

Syntax

adr=protocol-option; ...

Parameters

See MobiLink client network protocol options.

Remarks

You must ensure that all subscriptions for a MobiLink user are synchronized to only one consolidated database. Otherwise, you may experience data loss and unpredictable behavior.

If you are using the Redirector, see Configuring MobiLink clients and servers for the Redirector.

This option has a short form and long form: you can use adr or CommunicationAddress.

This option can also be stored in the database using the SQL statement that creates or alters a publication, subscription, or user. For more information, see:

Use the CommunicationType extended option to specify the type of network protocol.

See CommunicationType (ctp) extended option.

See also
Example

The following dbmlsync command line illustrates how you can set this option when you start dbmlsync:

dbmlsync -e "adr=host=localhost"

To specify multiple network protocol options on the command line, enclose them in single quotes. For example,

dbmlsync -e "adr='host=somehost;port=5001'"

To store the Address or CommunicationType in the database, you can use an extended option or you can use the ADDRESS clause. For example,

CREATE SYNCHRONIZATION SUBSCRIPTION
   TO sales_publication
   FOR ml_user1
   ADDRESS 'host=localhost;port=2439'