- From: Martin Ostrowski <Martin.Ostrowski@bov.de>
- Date: Thu, 20 Jul 2000 14:11:55 +0200
- To: "'Jim Marshall'" <jim_marshall2268@hotmail.com>
- Cc: www-lib@w3.org
Hi Jim, Have you tried the end_loop() method ? -----Ursprüngliche Nachricht----- Von: Jim Marshall [mailto:jim_marshall2268@hotmail.com] Gesendet: Mittwoch, 19. Juli 2000 17:45 An: www-lib@w3.org Betreff: terminate handler?? I'm a newbie to libwww as well as net programming in C, my questions might be covered elsewhere (I've looked and can't find them) - so please direct to the location where I can get these answers without having to pester you. I have the need to post a form to a server, the server will process teh request and return some information (a URL) to me at which point I must make a GET request to this URL. However; looking at the postform.c example (and most of the others) the terminate handler calls 'exit' which terminates the program. questions: 1 - Can I return a value from the terminate handler which will result in the code continueing? Currently if I return HT_OK it seems to get hung in a loop (specifically in HTEvtLst.c on this line HTTRACE(THD_TRACE, "Event Loop.. One or more sockets were not through their connect phase - try again\n");). 2 - Any type of examples available for doing the above type of program? The postform.c is exactly what I need to post the request to the server, I then need to parse the response and issue a get. Can I initiate a new request request from teh terminate handler (I doubt it). Please help, thanks -Jim ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Received on Thursday, 20 July 2000 08:12:28 UTC