def run(self):
        self.sock=socket.socket(socket.AF_INET,socket.SOCK_STREAM)

        self.sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
        try:
            self.sock.bind(('localhost',self.port))
        except:
            # If I can't bind, there is nothing I cand do
            return
        self.sock.listen(5)

        while True:
            s, address = self.sock.accept()
            print("Conection from %s" % str(address))

            realio = sys.stdout, sys.stdin, sys.stderr
            socketio = RtDebugger(s, realio)
            sys.stdout,sys.stdin,sys.stderr = socketio,socketio,socketio

            try:
                try:
                    code.interact(banner=self.banner, local = {
                        'list' : servers, 'servers' : servers, 'get_server' : get_server, 'get' : get_server
                    })
                finally:
                    sys.stdout, sys.stdin, sys.stderr = realio
            except Exception as e:
                print(e)
            except __HOLE__ as e:
                print(e)

            try:
                s.close()
            except:
                pass
dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/voodoo/rt_debugger.py/Debugger.run