W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2000

Got Post??

From: Cal Caldwell <Caldwell@kfalls.net>
Date: Fri, 17 Mar 2000 09:51:24 -0800
Message-ID: <084e01bf9039$69cd2190$05640a0a@kfallsdev>
To: <www-lib@w3.org>
Hi Jose and  Henrik:

Thanks for the responses.  Henrik, I was hoping you would post.  It is pretty evident you pretty much "own" this list.   We basically figured out what you and Jose posted, however, it is cool to have you guys validate it.  

Here is what we did to get synchronous behavior:

We used the asynchronous code and, in the terminate handler, called HTEventList_stopLoop().  This dropped us out of the event loop and finished executing the rest of the function.  To get the UI to "block" we put all of the libwww code in its own thread and waited on that thread.

I am playing around with this for an upcoming article in VCDJ on "Implementing the SOAP Channel using Libwww."  My thoughts being that an open source protocol should use an open source implementation of HTTP.  (And WinInet has some problems that Libwww solves.)  My partner Chris and I have played with this code for the last couple of weeks.  We have wrapped up the Post code in a COM object and use it from a UI to make a simple SOAP call.  For more on SOAP check out www.develop.com\soap. 

I would be happy to shoot this code to you guys if you are interested.  Not being Libwww experts, I want to make sure we haven't done anything too awkward.

Also, if you guys think it is worthy, we would be happy to see it as one of the samples...

Thanks,

Cal
Received on Friday, 17 March 2000 12:46:13 GMT

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