> > >
# 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:23 AM` |
I found and tried CFX_TCPCLIENT: again, it is working great on my machine, but fails on the NT4 Server. The error message received is: SOCKET is invalid. [Line 684, v1.1]. SELECT(write) Socket Error (10038) (null) [Line 219, v1.1]. SEND Socket Error (10038) (null) [Line 231, v1.1]. 10038 tells me that there is no open socket when expected. (http://www.sockets.com/winsock.htm is a good source, but my understanding is too limited) my code reads: <CFX_TCPClient SESSION="OPEN" HOST="212.215.24.38" PORT="2711" SOCKETNAME="telnetsocket" > <!--- Send out the message ---> <CFX_TCPClient SENDRN=#variables.sendPage# SOCKET="#telnetsocket#"> <!--- 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#> <cfelse> <cfset response=#variables.telnet#> </CFIF> <cfoutput> <cfset CALLER.response=#variables.response#> </cfoutput> But when I do the connection manually in a command window, it works fine. winsock.dll is the same version on both systems, 'Everyone' can read, write, execute, modify. On that server I have CF5, but I develop on CF 4.5.1 SP2. Please HELP someone!?! Urs
`Copyright © 1997-2006 by Lewis A. Sellers.` Login