def METHOD_NAME(self, r):
    new_fd, new_addr = r.accept()
    new_fd.setblocking(0)  # non-blocking
    self.read_list.append(new_fd)
    self.write_list.append(new_fd)
    print 'new connection to', new_addr
    self.appMap[new_fd] = Connection(new_fd, self.app)