Telnet
Telnet is an old protocol, specified by RFC 854 (see http://www.ietf.org/rfc/rfc854.txt), and is normally used for interactive user sessions. The Python standard library supports this protocol in its module telnetlib. Module telnetlib supplies a class Telnet to connect to a Telnet server.
Telnet |
Returns an instance Instance |
close |
Closes the connection. |
expect |
Reads data from the connection until it matches any of the regular expressions that are the items of list |
interact |
Enters interactive mode, connecting standard input and output to the two ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access