[freetds] Help connecting with tds to MSSQL 2008 - solution found
galrub at gmail.com
Tue Sep 21 09:59:20 EDT 2010
On 9/21/2010 3:25 PM, Gal Rubinstein wrote:
> Hello all,
> the after looking into the socket problem it accrued to me that I
> forgot to mention an important fact, I'm using windows 7.
> RAW sockets have been limited on this version of windows!
> on a different site
> <http://cs.baylor.edu/%7Edonahoo/practical/CSockets/practical/>) a
> different socket connection method is used, using connect().
> the function called is :int connect(int socket, const struct sockaddr*
> addr, int addrlen)
> since I'm quite a beginner in C++, can anyone add this alternative to
> the net.c source, maybe surround it with a #ifdef.
> Thanks a lot...
> PS: cant wait to move to linux with this project, only after we show a
> WIN7 version can we move on... damn!
on the page
INITSOCKET() did the trick!!!
More information about the FreeTDS