aspose file tools
The moose likes Sockets and Internet Protocols and the fly likes How to write a telnet? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "How to write a telnet?" Watch "How to write a telnet?" New topic
Author

How to write a telnet?

qunfeng wang
Ranch Hand

Joined: Jan 28, 2005
Posts: 406
I do know little about network programming.
Any help will be appreciated.
Thaks in advance.


To be or not to be. It's a question.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8262

Step 1. Read the documentation: Telnet Protocol Specification


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
qunfeng wang
Ranch Hand

Joined: Jan 28, 2005
Posts: 406
Yeah,I've read what you say.
Now where to go?
Thanks!
Senthil B Kumar
Ranch Hand

Joined: Feb 09, 2004
Posts: 140
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.


Work like you don't need the money. Love like you've never been hated. Dance like nobody's watching. Sing like nobody's listening. Live like it's Heaven on Earth.
Currently I Reside Here WEBlog
Van Glass
Ranch Hand

Joined: Nov 18, 2000
Posts: 110
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

Joined: Apr 03, 2005
Posts: 30
You can open a socket to the address and port and send stuff according to Telnet Protocol specifications...

Saurabh
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to write a telnet?