cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Events

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 27 Jul 2006 23:26:40 +0200 (CEST)

On Wed, 26 Jul 2006, neetha mannem wrote:

> I am using curl_easy_init(), a series of curl_easy_setopt(), finally
> curl_easy_perform() in my application. My application needs to send
> callbacks on events to another application that initiates file transfer.
>
> Events are like 1. ON_CONNECTED and 2. ON_DISCONNECTED to the remote URL,
> 3. On data available to write etc..
>
> "On data available to write" is the write function callback from libcurl.
> But can anyone please let me know, when exactly ON_CONNECTED and
> ON_DISCONNECTED events happen?

There are no such events in libcurl and you cannot easily extract that
information using the current API.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-07-27