You are reading a single comment by @indianajones and its replies. Click here to read the full conversation.
  • Hey, why don't I also include my code?

            let udpClient = this.dgram.createSocket('udp4');
            udpClient = udpClient.bind(51320, function() {
                udpClient.on('message', function (msg, info) {
                    console.log(">"+JSON.stringify(msg)); // <- here is where I get 'Qu-SB ...' from the mixer
                    console.log(">"+JSON.stringify(info));
    
                    let tcpClient = require('net');
    
                    tcpClient.connect({port: 51325, host: "10.1.64.22"}, function() {
                        console.log("connected");
                    });
            
                    tcpClient.on('data', function(chunk) {
                        console.log("tcp data is " + JSON.stringify(chunk));
                    });
    
                    tcpClient.on('end', function() {
                        console.log('client disconnected');
                      });
                });
                udpClient.send("QU Find", 0, 7, 51320, "10.1.64.22");
            });
    
    

    10.1.64.22 is the Qu Mixer, which is the Midi device I'm trying to reach.

About