Java telnet server
First, you need to find documentation for the protocol on the internet (or pay big $$ to purchase the DDN white books, courtesy of the US Department of Defense), and then you need to implement the client side of the conversation. Since I have in the past implemented the complete telnet protocol (both client and server) for a real-time operating system (back around 1990), I can assure you that this is not trivial - not difficult, but not easy.
Set the JAVAHOME to the JDK 1.6: export JAVAHOMEJAVA TELNET SERVER INSTALL
If you don't respond to them, then eventually it will time you out and terminate your connection. Navigate to the extacted 'telnet-server' directory you got after Step 1 and apply following command to build the source, run unit test and release the project artifact: mvn clean install Windows - 1. All of this goes on before you get the login prompt.
That is so the server knows what to do when you send it data.
When you connect, it (the server) sends you queries about what your (the client) capabilites are, and you need to catch them and reply accordingly. This next server receives lines of text from a client and sends back the lines uppercased. The previous example was pretty trivial: it did not read any data from the client, and worse, it served only one client at a time. The telnet protocol has a complete conversation between client and server on startup. javac DateClient.java & java DateClient 127.0.0.1 Server response: Sat Feb 16 18:02: A Simple Threaded Server.