Re: NON-event-driven libwww

Michael Banks <[email protected]>
Newsgroups gmane.comp.lib.libwww
Message-ID <[email protected]>

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.