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

List:       kde-devel
Subject:    Re: Bug in KServerSocket
From:       Kurt Granroth <granroth () suse ! com>
Date:       2001-06-22 20:10:54
[Download RAW message or body]

On Friday 22 June 2001 11:17 am, Herwin Jan Steehouwer wrote:
> Is there a bug in KServerSocket ?
>
> I make a KServerSocket for port 1025, it is free, socket()!=-1, but
> the port() returns 260 insteadof 1025.
> if i terlnet to 260 is is closed and 1025 is open !

Yes, this is a known bug.  AFAIK, nobody that is familiar with the code has 
looked at it, though.

Basically, you cannot trust that port() will return anything resembling a 
useful value.
-- 
Kurt Granroth            | http://www.granroth.org
KDE Developer/Evangelist | SuSE Labs Open Source Developer
granroth@kde.org         | granroth@suse.com
            KDE -- Conquer Your Desktop
 
>> 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