Intrafoundation Software


 


 

Forums, News and Articles

You may post here on any subjects related to this site or the software therein. (Most everything on this site is tied into the forums so that you may leave or post comments about it.)

List all    New Post   

Forums RE:TCP Client problem with NT 4.0?

      Date: January 04 2002 04:28 AM
O.k., I lied. And already made a fool of myself. But I do keep promises:



<CFX_TCPClient
SESSION="OPEN"
HOST="212.215.24.38"
PORT="2711"
SOCKETNAME="telnetsocket"
>

<!--- Send out the message --->
<CFX_TCPClient SENDRN=#variables.sendPage# SOCKET="#telnetsocket#">

<CFIF len(TCPClientError) gt 0>
<cfset CALLER.response="#TCPClientError# on sending message">
<CFEXIT METHOD="EXITTAG">
</CFIF>

<!--- get returned messages --->

<CFX_TCPClient WAITFORRECVDATA="3" RECV="telnet" SOCKET="#telnetsocket#">


<!--- set returned messages for further processing --->
<CFIF len(TCPClientError) gt 0>
<cfset response="#TCPClientError# on receiving message">
<cfelse>
<cfset response=#variables.telnet#>
</CFIF>

<cfoutput>
<cfset CALLER.response=#variables.response#>
</cfoutput>


Urs ;-o
Delete    Edit    Reply