curl-library
Re: connection status
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 25 Feb 2006 22:46:02 +0100 (CET)
Date: Sat, 25 Feb 2006 22:46:02 +0100 (CET)
On Sat, 25 Feb 2006, Karl M wrote:
> It is the last socket that was closed, but kept in the cache for future use
> on this handle. I don't know much about the ftp code, so I can't say what it
> was used for. Take a look at the CVS code and see if it does what you need.
It'll return the control connection's socket. The data connection is _never_
kept alive after a transfer in FTP.
But I haven't actually tested this for real, only reviewed the code.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-02-25