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
- Time (rdate) and Daytime