def handle(self):
while True:<EOL><INDENT>toRead = select.select([self.local, self.remote], [], [], <NUM_LIT:0.1>)[<NUM_LIT:0>]<EOL>if self.local in toRead:<EOL><INDENT>data = os.read(self.local, <NUM_LIT>)<EOL>self.sock.sendall(data)<EOL>continue<EOL><DEDENT>if self.remote in toRead or self.rawq:<EOL><INDENT>buf = self.read_eager()<EOL>os.write(self.local, buf)<EOL>continue<EOL><DEDENT><DEDENT>
Performs endless processing of socket input/output, passing
cooked information onto the local process.