freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Jonathan Downes <jonno AT activ.net.au>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Hey, it compiles! (but now what?)
- Date: Tue, 24 Nov 1998 08:41:55 +1100
Hi,
Well I managed to get the test code compiled, but I am now very
confused, and can find no docs.
Firstly, there seems to be three layers - tds, dblib and ctlib.
Why? which one do I, as a humble
application developer trying to talk to SQL Server from a linux
machine need to use? Are the API's
actually documented anywhere?
I tried to get one of the test progs to actually do something.
For no particular reason I picked tdstest.c
and made some changes, specifically:
put my passwod in the call to tds_set_passwd
put my username in the call to tds_set_user
put the host name of my SQL Server in tds_set_host
And then compiled and ran it. I get a 'connect: network is
unreachable' error.
One thing that springs to mind is I believe that SQL Server uses
a different port (1433) than
Sybase, and I couldn't see anywhere to set a port address.
Can anyone point me at some info please?
Regards,
Jonno.
-
Hey, it compiles! (but now what?),
Jonathan Downes, 11/23/1998
- <Possible follow-up(s)>
- Re: Hey, it compiles! (but now what?), Craig Spannring, 11/23/1998
- Re: Hey, it compiles! (but now what?), Brian Bruns, 11/23/1998
Archive powered by MHonArc 2.6.24.