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

SQL Anywhere 10.0.1 » QAnywhere » QAnywhere Agent

-x option Next Page

-xd option

Specify that the QAnywhere Agent should use dynamic addressing of the MobiLink server.


qaagent -xd


When you specify -xd, the QAnywhere Agent can determine the protocol and address of the MobiLink server based on message store properties. This means that it can dynamically determine the address of a single MobiLink server, where the server address is dependent on the current network that is active for the device where the QAnywhere Agent is running.

The QAnywhere application must initialize message store properties that describe the communication protocol and address of the MobiLink server, as well as a relationship to the currently active network interface. As the mobile device switches between different networks, the QAnywhere Agent detects which network is active and automatically adjusts the communication protocol and address of the MobiLink server—without having to be restarted.

See also

The following example sets properties so that the appropriate MobiLink address is used based on the type of network the device is on. For example, if the device is on a LAN the appropriate LAN address is used.

QAManager mgr;
mgr.SetStringStoreProperty( "LAN.CommunicationAddress", "host=;port=10997" );
mgr.SetStringStoreProperty( "LAN.CommunicationType", "tcpip" );
mgr.SetStringStoreProperty( "WAN.CommunicationAddress", "host=;port=7777" );
mgr.SetStringStoreProperty( "WAN.CommunicationType", "tcpip" );
mgr.SetStringStoreProperty( "EL3C589 Ethernet Adapter.type", "LAN" );
mgr.SetStringStoreProperty( "Sierra Wireless AirCard 555 Adapter.type", "WAN" );