This script starts up a telnet session and allows you to run commands to the remote server. This a class to do all of the connecting and communicating between the server and client, so that you can just call methods on objects to connect to the server, dissconnect, login, run commands, etc... .
Hope this Helps!