28
28
:class:`Telnet` represents a connection to a Telnet server. The instance is
29
29
initially not connected by default; the :meth:`open` method must be used to
30
30
establish a connection. Alternatively, the host name and optional port
31
36
number can be passed to the constructor, to, in which case the connection to
32
37
the server will be established before the constructor returns. The optional
33
38
*timeout* parameter specifies a timeout in seconds for blocking operations