Re: NON-event-driven libwww

Here's what I currently have been trying.  Is it on
the right track?

/* Get the POST ready */
HTPostAnchor( src, dst, request );

/* Connect to the remote host. */
HTEventList_dispatch(HTNet_socket( net ), HTEvent_CONNECT, HTGetTimeInMillis() );

/* Send out the body. */
pcbf = HTRequest_postCallback( request );
(*pcbf)( request, HTRequest_inputStream( request ) );

/* Read the response. */
HTEventList_dispatch( HTNet_socket( net ), HTEvent_READ, HTGetTimeInMillis() );

Received on Tuesday, 17 June 2003 10:53:44 UTC