On 2/22/07, Robert Carroll <[EMAIL PROTECTED]> wrote:
> Is there a reliable way to determine when the post command of the
> httpsocket is finished sending data?
>
> I need my application to quit after a data form has been sent
> successfully. So far the form is only sent properly when the
> application stays running. Checking the send progress event with
>
> if bytesleft = 0 then
> quit
> end
>
> does not resolve the problem. I read the bytesleft as 0, but the form
> does not get sent. Similarily, inserting an arbitrary pause with
> while...wend doesn't help either (although perhaps this also stops
> the post action).

You might want to try adding a Socket.Close call to clean things up
after you have 0 bytes left, before quitting.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to