def connect(self, ip, timeout=5, port=60000):
        try:
            s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, 0)
            s.connect((ip, port))
            s.settimeout(timeout)
        except Exception as e:
            print(e)
            sys.exit(1)
        return s
:param ip: IP address of the controller
dataset/ETHPy150Open pawl/Chinese-RFID-Access-Control-Library/rfid.py/RFIDClient.connect