TelnetServer.connectTo(host,port,user,password,prompt)

Connects to a telnet server.

Arguments:

Name Type Description Mode
host String the host of the telnet server in
port Int the port of the telnet server (Optional. Default 23) in
user String the user name in
password String the user password in
prompt String the expected prompt from remote host (Default: $) in