RSS Feed for This PostCurrent Article

Java – Develop a Telnet Client

I was trying to develop a simple Telnet client in Java and was looking for the easiest to do this. I used Apache Commons Net before to develop a ftp client. After reading the documentation and examples, I was able to customise the example Telnet program.

Apache Commons Net supports the following protocols

  • FTP
  • NNTP
  • SMTP
  • POP3
  • Telnet
  • TFTP
  • Finger
  • Whois
  • rexec/rcmd/rlogin
  • Time (rdate) and Daytime
  • Echo
  • Discard
  • NTP/SNTP

telnetclientexample.java


Trackback URL