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.)

   

Telnet to UNIX with ASP

   From: Brendon
   Date: September 27 2002 1:10 AM
When I use tcpclient to telnet to our unix server I recieve back

ˇ˝ˇ˝ˇ˝#ˇ˝'ˇ˝$

instead of the expected login request

here is the ASP Code I tried

Dim obj
Set obj = Server.CreateObject("Intrafoundation.TCPClient")

obj.Clear()
obj.Open "mines27","23"
obj.SendRn("tcpclient")
obj.Timeout=4.0

strObjRec = obj.Recv()

Response.Write strObjRec

thanks
Copyright © 1997-2006 by Lewis A. Sellers.        Login