Not sure why it did not work with POST (sync) but it finally worked with
async! I just modified it as,

      HTTPClient->PostASync(); // sync
     catch(Exception &e)
     while(!reallyDone) // for SSL to work well!
reallydone is set NOT in OnRequestDone but in an message handler which is
PostMessage'd from OnRequestDone to have it working!!!



On Tue, Mar 1, 2011 at 8:21 AM, Fastream Technologies <>wrote:

> Hello,
> In our product, we have a client/server GUI that uses HTTPS to POST XML for
> administration. Both the client and the server uses ICS. In the past, the
> client was using Wininet which was working perfectly. The issue is strange
> because it does not happen when the computer is rebooted and the client and
> server are run for the first time. When I re-run the client against the
> server, winsock error 10053 occurs. I first guessed it was due to OpenSSL
> and the self-signed certificate we are using. When I restart the server and
> the client, it happens too! (That is the strange thing.) It only works when
> the machine is rebooted. I tried changing the OpenSSL DLL names separately
> The machine is a 32-bit Windows 2008 R1 SP2. It works perfectly on
> Win2008R2 x64 and Win7Pro x64. It has always worked on Win7 but I believe I
> have had to turn off keep-alive for it to work on Win2008R2.
> You can see it (blackbox) here:
> (sorry, closed-source)
> Any help will be appreciated.
> Regards,
> SubZero
To unsubscribe or change your settings for TWSocket mailing list
please goto
Visit our website at

Reply via email to