How to use TCPClient for Telnet ?

G

Guest

I am trying to write a simple Telnet client that will execute commands on a
remote (Unix) host. I'm using C# to write a console app. I have a sample
WinForms app that uses a Socket object directly, but I'd like to use a
TcpClient object instead.

I am having some success (the remote system responds, but the login fails).

Does anyone have an example of a Telnet client that uses TcpClient? Or is
there some gotcha that's getting me?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top