W3C home > Mailing lists > Public > www-lib@w3.org > October to December 2000

How to return from a function using libwww?

From: #LI CHAOHUI# <P145163551@ntu.edu.sg>
Date: Sat, 11 Nov 2000 23:01:08 +0800
Message-ID: <147BBF8976F0D211888508002BA60B6603FE3268@mail8.ntu.edu.sg>
To: "'www-lib@w3.org'" <www-lib@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:38 GMT