yoyo,
I am writing an application in Java that connects to a router via telnet and runs a script of commands and captures the output.  A lot of dudes on the web say the telnet protocol is ugly and to use someone else's implementation, which is good, but I can't find a good implementation.  All I need is connect, login with stored username

assword send a string, receive the output. disconnect.  sounds simple enough.  any help is greatly appreciated.