<s> import module <EOL> import debug <EOL> import sys <EOL> MODNAME = '<STR_LIT>' <EOL> USAGE = """<STR_LIT>""" <EOL> @ module . server_handler ( MODNAME ) <EOL> def server ( server , argv ) : <EOL> if '<STR_LIT>' in argv or '<STR_LIT>' in argv : <EOL> print USAGE <EOL> else : <EOL> print """<STR_LIT>""" , <EOL> if raw_input ( ) . lower ( ) [ <NUM_LIT:0> ] == '<STR_LIT:y>' : <EOL> resp = server . conn . exchange ( MODNAME ) <EOL> if resp == '<STR_LIT>' : <EOL> debug . info ( '<STR_LIT>' ) <EOL> server . continue_ = False <EOL> else : <EOL> server . info ( '<STR_LIT>' . format ( resp ) ) <EOL> else : <EOL> server . info ( '<STR_LIT>' ) <EOL> @ module . client_handler ( MODNAME ) <EOL> def client ( client , argv ) : <EOL> client . selfdestruct ( ) <EOL> client . s . send ( '<STR_LIT>' ) <EOL> sys . exit ( ) </s>
