Scan QRCode, send data with socket