Yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/module-telnetlib.html

Revision as of 19:54, 7 November 2013 by MassBot1 (talk | contribs) (Created page with "<div class="navigation"> {| width="100%" cellspacing="2" align="center" | yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/SMTP-example.html|[[Image:yurttas...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

11.11 telnetlib -- Telnet client

The telnetlib module provides a Telnet class that implements the Telnet protocol. See RFC 854  ] for details about the protocol.

Telnet ([host[, port]])
Telnet represents a connection to a telnet server. The instance is initially not connected by default; the open() method must be used to establish a connection. Alternatively, the host name and optional port number can be passed to the constructor, to, in which case the connection to the server will be established before the constructor returns. Do not reopen an already connected instance.This class has many read_*() methods. Note that some of them raise EOFError when the end of the connection is read, because they can return an empty string for other reasons. See the individual descriptions below.

See Also:

RFC 854, Telnet Protocol Specification  ]
Definition of the Telnet protocol.

Subsections


See About this document... for information on suggesting changes.