469,578 Members | 1,914 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,578 developers. It's quick & easy.

C# telnet problem

I want to implement telnet client in C#. I am able to connect to the
telnet server in windows XP and do the negotiations. I also get the
login prompt.After I send the username I get password prompt. the
problem starts with the password prompt. After I send the password the
server returns three nulls '0 0 0' and the thread is closed. can
someone help me understand what is going on.

Nov 17 '05 #1
2 5213
hi

Telnet is a rather difficult protocol it's better use a third party control
than implement your own.

Take a look at http://www.klausbasan.de/misc/telnet/ he did a telnet client
he also gives away the code so you can get ideas from it.

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

<mn********@yahoo.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
I want to implement telnet client in C#. I am able to connect to the
telnet server in windows XP and do the negotiations. I also get the
login prompt.After I send the username I get password prompt. the
problem starts with the password prompt. After I send the password the
server returns three nulls '0 0 0' and the thread is closed. can
someone help me understand what is going on.

Nov 17 '05 #2
"Ignacio Machin \( .NET/ C# MVP \)" <ignacio.machin AT dot.state.fl.us>
wrote in news:OL**************@TK2MSFTNGP15.phx.gbl:
Telnet is a rather difficult protocol it's better use a third party
control
than implement your own.


Free with source, and very mature:
http://www.indyproject.org/
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Get your ASP.NET in gear with IntraWeb!
http://www.atozed.com/IntraWeb/
Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by kumar | last post: by
3 posts views Thread by Yannick Turgeon | last post: by
4 posts views Thread by Donnal Walter | last post: by
2 posts views Thread by john brown | last post: by
reply views Thread by CJ | last post: by
3 posts views Thread by Horst Walter | last post: by
2 posts views Thread by b00x | last post: by
2 posts views Thread by vmalhotra | last post: by
17 posts views Thread by ravimath | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.