commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gustavo Rodríguez <gustavo.rodrig...@innosec.es>
Subject Re: Socket connect timeout
Date Fri, 09 May 2003 07:02:24 GMT
    Thank you, that's what I supposed...that seems to work fine.
    Thanks again.
----- Original Message -----
From: "Daniel F. Savarese" <dfs@savarese.org>
To: "Jakarta Commons Users List" <commons-user@jakarta.apache.org>
Sent: Friday, May 09, 2003 6:49 AM
Subject: Re: Socket connect timeout


>
> In message <017e01c3156f$11e02040$a520a4d5@tsatec.int>,
=?iso-8859-1?Q?Gustavo_
> Rodr=EDguez?= writes:
> >    Hi, we're using your FTP client API and would like to use the new =
> >JDK1.4 connect timeout method. We've seen in your source code that =
> ...
> >Is there any other way to specify a connection time out?
>
> The existing source code is JDK 1.1 compatible.  You can easily do what
> you want by implementing a socket factory or subclassing FTPClient and
> overriding _connectAction_() and setting the connection timeout before
> calling super._connectAction_().
>
> daniel
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>


Mime
View raw message