> > >
# Forums 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.)
## RE:TCP Client problem with NT 4.0? `From: Urs` `Date: January 04 2002 3:25 AM` |
And finally my third and last message for today - containing the code promised above: <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
`Copyright © 1997-2006 by Lewis A. Sellers.` Login