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

SQL Anywhere 11.0.1 (Français) » QAnywhere » QAnywhere Reference » QAnywhere Agent utilities reference » qauagent utility


-xd option

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

qauagent -xd

When you specify -xd, the QAnywhere UltraLite 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 UltraLite Agent is running.

The QAnywhere application must initialize message store properties that describe the communication protocol and address of the MobiLink server, and establish a relationship with the currently active network interface. As the mobile device switches between different networks, the QAnywhere UltraLite 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" );