When you establish a remote connection, the application calls to the server go through the network rather than use the direct function calls to the SMA or LLA library.
ODBC API
With the ODBC API, to establish a remote connection, the application calls the SQLConnect function with the name of the remote server.
Example
The following ODBC API code example connects to a remote solidDB® server with username dba and password dba. In this example, the network protocol that the client and server use is “tcp” (TCP/IP). The server is named “remote_server1” and the port that it listens on is 1313.
With the SA API, to establish a remote connection, the application calls the SaConnect function with the name of the remote server.
Example
In this example, the network protocol that the client and server use is “tcp”(TCP/IP). The server is named “remote_server1” and the port that it listens on is 1313.