[Gambas-user] Connect hang with latest revision

Benoît Minisini gambas at ...1...
Sat Jun 8 17:00:30 CEST 2013


Le 07/06/2013 09:52, Ron a écrit :
> I just checked, gambas2 didn't/doesn't respect timeout either in this
> case when a hiost cannot be reached.
> And reports after 2+ minutes.
> So it was always like this, maybe because of the fact that it was
> difficult to implement?
>
> Regards,
> Ron.
>

I have to fix the Socket.Blocking property that mixes up with the 
internal management of the socket which changes the blocking state of 
the socket.

Anyway, I think that this timeout value may be valid for some states of 
the socket, but not all.

I will check the internal call to DnsClient when connecting to the 
socket to see if there is a timeout too there.

Regards,

-- 
Benoît Minisini




More information about the User mailing list