[freetds] libtds - setting tds version and port number

Jon Foster jon at jfpossibilities.com
Mon Aug 30 17:58:58 EDT 2004


I'm no expert and just learning the Library myself. However I have two

1) Try a server string like "". It works for me.

2) There is a function dbsetversion(). I believe it is used to set the
protocol version.


On Mon, 2004-08-30 at 13:39, Ed Freeberg wrote:

> When I execute this program, I get:
> [ed at neo sqltest]# ./sql
> src/tds/login.c: tds_connect: Connection refused
> Unable to connect to
> So, obviously it's confused about which protocol and port it's supposed 
> to be using (it's supposed to speak 4.2 to port 1433/tcp).

Jon Foster
JF Possibilites, LLC
jon at jfpossibilities.com
Making computers work for you!

More information about the FreeTDS mailing list