telopt
Telnet option constants exported from the deprecated telnetlib module.
- name_commands(cmds, sep=' ')[source]
Return string description for array of (maybe) telnet command bytes.
- Return type:
- name_option(byte)[source]
Return string description for a telnet option byte.
Unlike
name_command(), IAC command bytes (DO, DONT, WILL, WONT, etc.) are displayed asrepr(byte)rather than their command names when they appear in the option-byte position.- Return type: