Skip to Content.
Sympa Menu

freetds - Re: connect errors ... 255.255.255?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Fabien Roy <froy AT austin.rr.com>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Cc: n2wog AT usa.net
  • Subject: Re: connect errors ... 255.255.255?
  • Date: Tue, 8 May 2001 09:09:24 -0500


I did compile and used freetds on MacOSXServer 1.2 (BigEndian) with
no problem.
Freetds has been reported to work on Linux (LittleEndian) and
Solaris (BigEndian).
The problem must be an HPUX one.
Maybe a couple of htonl() are needed.

Fabien
> Hello, I think this could this be a big/little endian problem? I
have narrowed
> the problem down to here... is there a library i might be missing
when I
> compile freetds etc etc... just ideas... I fear that the guys will
just use
> oracle ->flat file -> ftp ->access -> mssql to transfer the data,
instead of
> my idea (which is to keep it on unix, oracle -> custom prog -> mssql) I
> *really* want to win this one for open source... so if anyone has
any ideas
> please get in touch with me, 215-503-0986, or ICQ: 458042. I am
off to class
> now, so i cant do anymore work on this right now... but tonight,
i'll play
> around with that bit of code, prolly writing a simple hello-world
simplistic
> connect on this HPUX box to the echo port or soemthing... BTW: it
works fine
> under LINUX, it's just HPUX...
>
> Why is it trying to connect to port 255.255.255.0?
>
> ----
> This is line 217 of login.c:
> } else {
> if (connect(tds->s, (struct sockaddr *) &sin, sizeof(sin))
<0) {
> perror("connect");
> return NULL;
> }
> }
> /* END OF NEW CODE */
> ----
>
> Best Regards,
> E.M. Recio
>
> Best Regards,
> E.M. Recio
>
>




Archive powered by MHonArc 2.6.24.

Top of Page