cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Fwd: Re: Close callback

From: Ingo Krabbe <ikrabbe.ask_at_web.de>
Date: Fri, 7 Mar 2008 15:51:00 +0100

Am Freitag, 7. März 2008 01:05:04 schrieb Jeff Pohlmeyer:
> On Thu, Mar 6, 2008 at 2:14 PM, Ingo Krabbe <ikrabbe.ask_at_web.de> wrote:
> > What I really need is contextual data, that I attached
> > to the callbacks and I need a signal when to create it,
> > when to change behaviour (in/out) and when to close and
> > destroy the contextual data, since that is completely
> > controlled by the asynchronous request:
>
> Does the "/curl/docs/examples/ghiper.c" example help you?
>
> In particular, the sock_cb() function manages GIOChannel
> objects inside a GMainLoop.
>
>
> - Jeff

could you please send me an example output of the ghiper socket_cb functions ?

MSG_OUT("socket callback: s=%d e=%p what=%s ", s, e, whatstr[what]);
 MSG_OUT("Adding data: %s%s\n",
 MSG_OUT(
        "Changing action from %d to %d\n", fdp->action, what);

??

-- 
Mit freundlichen Grüßen / kind regards
I n g o   K r a b b e
System Administrator / system administrator
_________________________________________________________________________
Elements of Art GmbH         http://www.eoa.de
An der Eickesmuehle 22       41238 D-Moenchengladbach / Germany
fon: +49 (2166) 91567-3418   Registergericht: Moenchengladbach HRB 5855
fax: +49 (2166) 91567-99     Geschaeftsfuehrer: Erik Winterberg,
                                                Sebastian Leppert
Received on 2008-03-07