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

Re: NON-event-driven libwww

From: Michael Banks <mailbanks@yahoo.com>
Date: Tue, 17 Jun 2003 06:37:37 -0700 (PDT)
Message-ID: <20030617133737.21887.qmail@web20604.mail.yahoo.com>
To: www-lib@w3.org


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() ); 

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
Received on Tuesday, 17 June 2003 09:37:39 GMT

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