freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] libtds - setting tds version and port number
- From: Jon Foster <jon AT jfpossibilities.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] libtds - setting tds version and port number
- Date: 30 Aug 2004 14:58:58 -0700
Ed-
I'm no expert and just learning the Library myself. However I have two
suggestions:
1) Try a server string like "192.168.0.1:1433". It works for me.
2) There is a function dbsetversion(). I believe it is used to set the
protocol version.
Chow!
On Mon, 2004-08-30 at 13:39, Ed Freeberg wrote:
> When I execute this program, I get:
>
> [ed@neo sqltest]# ./sql
> src/tds/login.c: tds_connect: 192.168.0.1:4000: Connection refused
> Unable to connect to 192.168.0.1
>
> 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
541-410-2760
Making computers work for you!
-
[freetds] libtds - setting tds version and port number,
Ed Freeberg, 08/30/2004
- Re: [freetds] libtds - setting tds version and port number, Ed Freeberg, 08/30/2004
-
Re: [freetds] libtds - setting tds version and port number,
Jon Foster, 08/30/2004
-
Re: [freetds] libtds - setting tds version and port number,
Ed Freeberg, 08/30/2004
- Re: [freetds] libtds - setting tds version and port number, Alex Kiesel, 08/30/2004
-
Re: [freetds] libtds - setting tds version and port number,
Ed Freeberg, 08/30/2004
Archive powered by MHonArc 2.6.24.