- From: Jim Marshall <jim_marshall2268@hotmail.com>
- Date: Wed, 19 Jul 2000 08:45:05 PDT
- To: www-lib@w3.org
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 Wednesday, 19 July 2000 11:45:48 UTC