[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: QSocket problem with transconnect (proxy)?
From: Thiago Macieira <thiagom () wanadoo ! fr>
Date: 2002-06-20 15:04:57
[Download RAW message or body]
Michael Goffioul wrote
>I modified the patch a little bit to emit the connected signal after the
>read notifier has been enabled, as in tryConnection(). However I still
>don't know how d->addr can be different from 0.0.0.0.
My thoughts exactly. d->addr is referenced only once in the code, and it's
read. My guess is it DOESN'T work at all.
The thing is, this problem had never shown up because all the connections
returned EINPROGRESS, which meant that the code in QSocket::tryConnection()
always got called. However, since there was a connection in progress,
QSocketDevice::connect() didn't try again to connect.
QSocketDevice::connect() doesn't seem to behave the same way when the socket
is already connected.
Care to do the honours and send the patch and the bug case to the trolls?
--
Thiago Macieira - UFOT Registry number: 1001
thiagom@mail.com
ICQ UIN: 1967141 PGP: will create new keys. Erase the old ones!
Registered Linux user #65028
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic