You can use connection and protocol options to assist with connecting to a database across a dial-up link.
On the client side, you should specify the following protocol options:
Host parameter You should specify the host name or IP address of the database server using the Host (IP) protocol option. See Host (IP) protocol option.
DoBroadcast parameter If you specify the Host (IP) protocol option, there is no need to do a broadcast search for the database server. For this reason, use direct broadcasting. See DoBroadcast (DOBROAD) protocol option.
MyIP parameter You should set MyIP=NONE on the client side. See MyIP (ME) protocol option.
TIMEOUT parameter Set the Timeout (TO) protocol option to increase the time the client will wait while searching for a server. See Timeout (TO) protocol option.
A typical CommLinks (LINKS) connection parameter may look as follows:
LINKS=tcpip(MyIP=NONE;DoBroadcast=DIRECT;HOST=server_ip) |
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |