[Prev][Next][Index][Thread]
Using passive mode
-
To: www-lib@w3.org
-
Subject: Using passive mode
-
From: =?iso-8859-1?Q?Gunnar_R=F8nning?= <gunnarr@ifi.uio.no>
-
Date: Fri, 3 Nov 1995 18:36:14 +0100
-
From gunnarr@ifi.uio.no Fri Nov 3 13: 14:13 1995
-
Message-Id: <199511031736.6923.byleist.ifi.uio.no@ifi.uio.no>
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;
do {
...
} while(!exit_loop);
}
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.
Gunnar
PS. There are some confusing references in the docs to some functions that
are never used(HTEventThread_new,HTEventThread_clear,HTEventThreadState).