You are reading a single comment by @indianajones and its replies. Click here to read the full conversation.
  • Hmm, looks like there aren't specific docs on it - I should add that. UDP is handled in the same way as is done for Node.js.

    As an example:­b/master/tests/test_dgram_socket.js

    let client = dgram.createSocket('udp4');
    client.on('message', function(msg, info) {
      // you probably don't care about this
    // to send a midi note, you do:
    client.send('your data', port, 'servername');