Using a proxy and when proxy fails. - WeOnlyDo Discussion board

Using a proxy and when proxy fails. (General questions)

by Triage, Friday, January 18, 2008, 09:17 (6154 days ago)

10053 / The current connection has been aborted by the network or intermediate services.

I get this error when using a proxy with some of my software. Then it just stops. Looking for a bit of help maybe.

Here is the code I use.

Private Sub http_Done(ByVal ErrorCode As Long, ByVal ErrorText As String)
Dim oldcookie As HttpCookie

For Each oldcookie In http.Response.Cookies
http.Request.Cookies.Add oldcookie.Name, oldcookie.Value
Next

If ErrorCode <> 0 Then
Debug.Print Time$ & : & ErrorCode & / & ErrorText
'I want it to call the last function it was on when
'it failed. that way i can do like if fail then call lastfunc

Else
'my other code here


Complete thread: