Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to write a telnet?  RSS feed

 
Qunfeng Wang
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do know little about network programming.
Any help will be appreciated.
Thaks in advance.
 
Joe Ess
Bartender
Posts: 9429
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Step 1. Read the documentation: Telnet Protocol Specification
 
Qunfeng Wang
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah,I've read what you say.
Now where to go?
Thanks!
 
Senthil B Kumar
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This RFC is the description of the protocol.

this has to be now implemented using any programming language that supports networking. You can choose java.
 
Van Glass
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out RFC 854 and 855. Option negotiation can be a little tricky. A couple articles that may help.

http://www.jscape.com/articles/telnet_using_java.html

http://www.jscape.com/articles/scripting_telnet_sessions_using_java.html
 
Saurabh Khanna
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can open a socket to the address and port and send stuff according to Telnet Protocol specifications...

Saurabh
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!