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: Brian Bruns <camber AT ais.org>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: connect errors ... 255.255.255?
  • Date: Tue, 8 May 2001 21:12:42 -0400 (EDT)


I am baffled by the 255.255.255.0 sounds like the subnet mask...did you
try (as someone else suggested) using the IP number in the interfaces file
instead of the host name? Seems to be a problem with the call to
gethostbyname().

Brian

On 8 May 2001, Emilio M.Recio wrote:

> 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
>
> --
>
> Inherent in every intention and desire is the mechanics for its
> fulfillment...
> intention and desire in the field of pure potentiality have infinite
> organizing power. And when we introduce an intention in the fertile ground
> of
> pure potentiality, we put this infinite organizing power to work for us.
>
> ____________________________________________________________________
> Get free email and a permanent address at http://www.amexmail.com/?A=1
>
> ---
> You are currently subscribed to freetds as: [camber AT ais.org]
> To unsubscribe, forward this message to $subst('Email.Unsub')
>





Archive powered by MHonArc 2.6.24.

Top of Page