[Gambas-user] Connect hang with latest revision

Benoît Minisini gambas at ...1...
Mon Jun 3 21:14:46 CEST 2013


Le 02/06/2013 17:05, Ron a écrit :
> Bug #1 and Bug #2 are fixed, thanks for that!
>
> The time it takes for Event_Error to trigger is still more than 2 minutes.
> I see that in ClientSocket there is a 10sec timer running which cuts
> the socket if still not connected.
>
> Is this the way it should be implemented, what about the TimeOut
> property it seems it doesn't work?
> Would be nice if users know after 10 secs that the socket is unable to
> connect, +2 minutes is too long...
>
> Regards,
> Ron.
>

Hi Ron,

I have implemented what Caveat told in revision #5696: the timeout is 
reset each time the blocking mode changes internally.

Can you try it and tell me if it changes anything for you?

-- 
Benoît Minisini




More information about the User mailing list