Re: Got Post??

Thanks for the kind words - we all own the www-lib list - it has been an integral part of the Web community pretty much forever and I am proud to be a part of it.

Starting and stopping the libwww event loop - yes, that is a great idea and I know used by others as well

Sounds to me that you should have write access to the code - but you will have to check with Jose :) 

Looking forward to your article!

Henrik Frystyk Nielsen,
mailto:frystyk@microsoft.com
  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 13:09:11 UTC