Module net
[show private | hide private]
[frames | no frames]

Module net

This holds the SocketCommunicator class which handles socket connections with a mud and polling the connection for data.
Classes
SocketCommunicator The SocketCommunicator handles all incoming and outgoing data from and to the mud, telnet control codes, and some data transformations.

Variable Summary
str BELL
dict CODES
str DD
str DDWW
str DO
str DONT
str ECHO
str ENV
str EOR
str GA
str IAC
str IS
str NAWS
str NOP
str SB
str SE
str SEND
str SGA
str TELOPT_EOR
str TERMTYPE
str WILL
str WONT
str WW

Variable Details

BELL

Type:
str
Value:
'\x07'                                                                 

CODES

Type:
dict
Value:
{0: '<IS>',
 1: '[<ECHO> or <SEND>]',
 3: '<SGA>',
 24: '<TERMTYPE>',
 25: '<EOR>',
 31: '<NegoWindoSize>',
 32: '<TERMSPEED>',
 35: '<XDISPLAY>',
...                                                                    

DD

Type:
str
Value:
'\xfd\xfe'                                                             

DDWW

Type:
str
Value:
'\xfd\xfe\xfb\xfc'                                                     

DO

Type:
str
Value:
'\xfd'                                                                 

DONT

Type:
str
Value:
'\xfe'                                                                 

ECHO

Type:
str
Value:
'\x01'                                                                 

ENV

Type:
str
Value:
"'"                                                                    

EOR

Type:
str
Value:
'\x19'                                                                 

GA

Type:
str
Value:
'\xf9'                                                                 

IAC

Type:
str
Value:
'\xff'                                                                 

IS

Type:
str
Value:
'\x00'                                                                 

NAWS

Type:
str
Value:
'\x1f'                                                                 

NOP

Type:
str
Value:
'\xf1'                                                                 

SB

Type:
str
Value:
'\xfa'                                                                 

SE

Type:
str
Value:
'\xf0'                                                                 

SEND

Type:
str
Value:
'\x01'                                                                 

SGA

Type:
str
Value:
'\x03'                                                                 

TELOPT_EOR

Type:
str
Value:
'\xef'                                                                 

TERMTYPE

Type:
str
Value:
'\x18'                                                                 

WILL

Type:
str
Value:
'\xfb'                                                                 

WONT

Type:
str
Value:
'\xfc'                                                                 

WW

Type:
str
Value:
'\xfb\xfc'                                                             

Generated by Epydoc 1.1 on Mon Apr 28 21:11:25 2003 http://epydoc.sf.net