From kde-devel Fri Jun 22 20:10:54 2001 From: Kurt Granroth Date: Fri, 22 Jun 2001 20:10:54 +0000 To: kde-devel Subject: Re: Bug in KServerSocket X-MARC-Message: https://marc.info/?l=kde-devel&m=99324072024629 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 <<