Got Post??

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 UTC