How to return from a function using libwww?

Hi, everyone:

I am now using libwww to post form data to the corresponding web server and
fetch the returned web pages.  After obtaining the web pages, another
function (not using libwww) will start to process the pages.  Let the
function to post form data using libwww be func1, the function processing
the returned pages be func2, the whole procedure should look as follows:

int main()
{
  ...
  func1;
  func2;
  ... 
}

However, since the request in func1 is performed only when it enters the
event loop, I don't know how quit from the event loop and continue to
perform func2.  Could anyone tell me how to do it?

Thanks 

susan

Received on Saturday, 11 November 2000 10:01:11 UTC