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

SQL Anywhere 11.0.0 » MobiLink - Client Administration » Introduction to MobiLink Clients » MobiLink client network protocol options

 

network_leave_open

When you specify network_name, you can optionally specify that the network connectivity should be left open after the synchronization finishes.

Syntax
network_leave_open={ off | on }
Protocols
Support notes
Default

On devices other than Palm, the default is off.

On the Palm, the default is on.

Remarks

You must specify network_name to use this option.

When this option is set to on, network connectivity is left open after the synchronization finishes.

For information about how to set network protocol options with dbmlsync, see CommunicationAddress (adr) extended option.

For information about how to set network protocol options with UltraLite, see Network protocol options for UltraLite synchronization streams.

See also
Example

In the following example, the client uses the network name MyNetwork and specifies that the connection should be left open after the synchronization finishes.

On a SQL Anywhere client, the implementation is:

dbmlsync -e "adr='network_name=MyNetwork;network_leave_open=on'"

In an UltraLite application written in embedded SQL or C++, the implementation is:

synch_info.stream_parms = TEXT("network_name=MyNetwork;network_leave_open=on");