Using passive mode
Subject: Using passive mode
From: =?iso-8859-1?Q?Gunnar_R=F8nning?= <email@example.com>
Date: Fri, 3 Nov 1995 18:36:14 +0100
From firstname.lastname@example.org Fri Nov 3 13: 14:13 1995
I'm trying to set up libwww 3.1 for use in passive mode. I have been
mimicking the HTEvent_Loop function and much of the other functionality in
that mode, but how do I ensure that the library registers its handlers and
events with me ?
I think I could have used the current setup if it was possible to exit from
the HTEvent_Loop function by setting a global variable or something in a
callback. Something like this :
PUBLIC int HTExit_loop;
PUBLIC int HTEvent_Loop( HTRequest * theRequest )
HTExit_loop = FALSE;
I don't know the library code well enough to know if this is feasible.
Does anybody have any example source code on use of the library in passive
mode ? I would really appreciate anything that could solve my problems.
PS. There are some confusing references in the docs to some functions that
are never used(HTEventThread_new,HTEventThread_clear,HTEventThreadState).