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: "Sean R. Clark" <sclark AT nyroc.rr.com>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: connect errors ... 255.255.255?
  • Date: Tue, 8 May 2001 19:48:32 -0400


i do get this problem on a solaris 2.6 machine as well

-----Original Message-----
From: bounce-freetds-130437 AT franklin.oit.unc.edu
[mailto:bounce-freetds-130437 AT franklin.oit.unc.edu]On Behalf Of Fabien
Roy
Sent: Tuesday, May 08, 2001 10:09 AM
To: TDS Development Group
Cc: n2wog AT usa.net
Subject: [freetds] Re: connect errors ... 255.255.255?


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
>
>

---
You are currently subscribed to freetds as: [sclark AT nyroc.rr.com]
To unsubscribe, forward this message to
$subst('Email.Unsub')





Archive powered by MHonArc 2.6.24.

Top of Page