Asynch vs Synch posting

I have what is undoubtedly a simple question, the answer
to which I cannot see right in front of my face.

I have a simple application, written in C, whose sole
purpose is to "poke" an http server via ssl with a simple
message, repeatedly, in a timed manner. I decided to
try out libwww. My app is basically the same as the
post (post.c) example app. The POST is done inside
a never ending loop (basic "heartbeat" kinda app). The
question - the first POST happens, is handled by the
server, and a reponse is sent back. In this case I don't
care about the response. Control is never returned to
my app, libwww gives me:

Looking up localhost
Looking up localhost
Contacting localhost
Writing 1Kbytes
Writing 1Kbytes
Reading...
Please give name of file to save in: (RETURN for [/tmp/blahblahblah])

and then app is terminated. I want to ignore these returns
and just have program control returned to my app and send out
the next POST....

Any help on what I am missing would be greatly
appreciated. Code snippet of the POST:

    while (1)
    {
	.....
       	status = HTPostAnchor(src, dst, request);

       	if (status == YES) HTEventList_loop(request);
    }

Mark

-- 
Mark Grice
Senior Software Developer, Atreus Systems Corporation
(613) 233-1741 x245  /  (613) 239-1738 (pager)
http://www.atreus-systems.com

Received on Friday, 10 November 2000 11:15:59 UTC