XHLHTTP object returns immediately
Hi,
I'm using the XMLHTTP object to upload SOAP/XML in my program (VB6). It works fine on broadband on LAN & dial-up, but for a 1-way satellite connection (satellite download, POTS upload) the readyState = 4 basically as soon as .send is called. The .statusText is not what is expected.
Unfortunately, this problem is occurring on customers' machines and the .status and .statusText are not available.
Does anyone know why the satellite connection may give different results?
Thanks a lot for any help.
-Dougy
<code>
' abort as boolean 'global variable
Dim objHTTP As New XMLHTTP
Dim strMessage As String
'Create the xml string (file) to send (has been truncated here)
strMessage = "<?xml version=""1.0"" encod" ...
objHTTP.open "post", XML_ADDRESS, True
objHTTP.send strMessage
Dim startTime As Single
startTime = Timer
'wait for response, allow user to quit
Do While Not abort And objHTTP.readyState <> 4
Sleep 10
DoEvents
Loop
</code>
|