W3C home > Mailing lists > Public > www-lib@w3.org > April to June 2003

Re: NON-event-driven libwww

From: Michael Banks <mbanks@progress.com>
Date: Tue, 17 Jun 2003 09:35:34 -0400 (EDT)
To: www-lib@w3.org
Message-id: <3EEF1920.9090201@progress.com>





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 GMT

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