On Wed, 30 Jan 2002 11:58:15 -0500, "Ron Davis"
<[EMAIL PROTECTED]> wrote:
>UPDATE:
>
>I got an email from the people on the target server end.. they said that
>they actually *GOT* the transmission and successfully sent out the reply,
>but i didnt get anything printed out as the response... ?? can anyone see
>a problem with these few lines... its getting narowed down.. FINALLY:
>
><cfscript>
>bIsConnected = obj.Open("10.30.0.254", "4242");
>obj.Send(xmlDoc);
>myresponse = obj.Recv();
></cfscript>
>
><!-- Displays the return XML string on screen >
><cfoutput>#myresponse#</cfoutput>
>
>So, the sending works fine.. and they're sending a response, but I'm not
>getting it for some reason......
In that case... the Recv function returns when either the remote
server drops connection (which is what happens when you fetch a page
with http) or the timeout limit is reached.
I think the default timeout is 0.200 (or 200 milliseconds), so that
shouldn't be an issue unless you're on a modem or sat.
In those cases setting the timeout as high as 2 or 3 seconds.
None of that explains while recv would just sit there for long peroids
of time... unless the server is sending keep alive data or some such.
--min
______________________________________________________________________
Why Share?
Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
Instant Activation � $99/Month � Free Setup
http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists