GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • 11.11.1 Telnet Objects
  • 11.11.2 Telnet Example

This view

  • Original page
  • New address

GeezerVison is showing docs.python.org — 11.11 telnetlib -- Telnet client

Previous Page Up One Level Next Page Python Library Reference Contents Module Index Index
Previous: 11.10.2 SMTP Example Up: 11. Internet Protocols and Next: 11.11.1 Telnet Objects

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
  • 11.11.1 Telnet Objects
  • 11.11.2 Telnet Example


Previous Page Up One Level Next Page Python Library Reference Contents Module Index Index
Previous: 11.10.2 SMTP Example Up: 11. Internet Protocols and Next: 11.11.1 Telnet Objects

See About this document... for information on suggesting changes.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.