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 protocol option [IP].
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 protocol option [DOBROAD].
MyIP parameter You should set MyIP=NONE on the client side. See MyIP protocol option [ME].
TIMEOUT parameter Set the TIMEOUT (TO) protocol option to increase the time the client will wait while searching for a server. See Timeout protocol option [TO].
A typical CommLinks (LINKS) connection parameter may look as follows:
LINKS=tcpip(MyIP=NONE;DoBroadcast=DIRECT;HOST=server_ip) |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |