Lines Matching refs:Telnet
1 :mod:`telnetlib` --- Telnet client
5 :synopsis: Telnet client class.
9 .. index:: single: protocol; Telnet
15 The :mod:`telnetlib` module provides a :class:`Telnet` class that implements the
16 Telnet protocol. See :rfc:`854` for details about the protocol. In addition, it
29 .. class:: Telnet([host[, port[, timeout]]])
31 :class:`Telnet` represents a connection to a Telnet server. The instance is
52 :rfc:`854` - Telnet Protocol Specification
53 Definition of the Telnet protocol.
58 Telnet Objects
61 :class:`Telnet` instances have the following methods:
64 .. method:: Telnet.read_until(expected[, timeout])
74 .. method:: Telnet.read_all()
79 .. method:: Telnet.read_some()
85 .. method:: Telnet.read_very_eager()
94 .. method:: Telnet.read_eager()
103 .. method:: Telnet.read_lazy()
112 .. method:: Telnet.read_very_lazy()
120 .. method:: Telnet.read_sb_data()
129 .. method:: Telnet.open(host[, port[, timeout]])
132 defaults to the standard Telnet port (23). The optional *timeout* parameter
142 .. method:: Telnet.msg(msg[, *args])
149 .. method:: Telnet.set_debuglevel(debuglevel)
155 .. method:: Telnet.close()
160 .. method:: Telnet.get_socket()
165 .. method:: Telnet.fileno()
170 .. method:: Telnet.write(buffer)
177 .. method:: Telnet.interact()
179 Interaction function, emulates a very dumb Telnet client.
182 .. method:: Telnet.mt_interact()
187 .. method:: Telnet.expect(list[, timeout])
208 .. method:: Telnet.set_option_negotiation_callback(callback)
217 Telnet Example
233 tn = telnetlib.Telnet(HOST)