[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: New kdelibs/kdecore/ksock stuff limits KDE to newer OS versions ...
From:       Thiago Macieira <thiagom () mail ! com>
Date:       2001-03-06 3:26:31
[Download RAW message or body]

David Faure wrote:

> On Monday 05 March 2001 13:08, Thomas Leitner wrote:
>> The problem is that these routines need stuff which is not available on
>> my OS version (4.0x) like the following routines:
>> 
>> inet_ntop, inet_pton and getaddrinfo

That was expected.

>> So I think we've got two options:
>> 
>> - Keep kdelibs/kdecore/ksock* stuff as it is and write emulation routines
>>   for all these routines in kdelibs/kdecore/fakes.c

This is what I intended to do. I'll write these routines as soon as possible.

Actually, I didn't intend for the code to be merged into the CVS before those routines were implemented.
Since it is already there, I'll write the replacement routines as soon as possible.

Sorry for the inconvenience right now.

Maybe the CVS should be reverted to the old revisions before the functions are finished. I hope to get
them done by the end of this week.

>> - modify kdelibs/kdecore/ksock* stuff to avoid these routines.

Do that and we lose IPv6.

>> I'd opt for the latter approach because basically all these routines are
>> only convenience routines. The same functionality can be had by the
>> standard routines inet_ntoa, inet_addr and the like.

No, they are not. Those routines you mentioned are IPv4-exclusive. The newer versions
are meant for any kind of Internet socket, IPv4, v6 and whatever may come later.

>> P.S.: Why was this stuff implemented anway. Is the QSocket, QSocketDevice
>>       and QServerSocket not good anymore?

Actually, no.

> This is for IPv6 support - it should be possible to "turn it off" though, for such
> operating systems. Cc'ing Thiago, who wrote this code.

I'm sorry for the inconvenience now. Please revert the code for the moment.

I'll get the replacements done by the end of the week.

-- 
  Thiago Macieira - UFOT Registry number: 1001
  thiagom@mail.com talha@geocities.com
    ICQ UIN: 1967141  PGP: 0x8F2978D5 and 0xEA9037A5
      Registered Linux user #65028

96/387. All hands! Brace for impact! -- Cmdr. William T. Riker, Star 
Trek: Generations

 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic