Skip to content
Permalink
Browse files

Changed listener port

  • Loading branch information...
neauoire committed May 25, 2019
1 parent 763212d commit 2f287374f2ff17810b38bbffb76ceba1e62ed508
Showing with 2 additions and 2 deletions.
  1. +2 −2 listener.js
@@ -1,4 +1,4 @@
const UDP_PORT = 49160
const UDP_PORT = 49161
const OSC_PORT = 49162

const dgram = require('dgram');
@@ -28,7 +28,7 @@ udpserver.on('message', (msg, rinfo) => {
})

oscserver.on('message', (msg, rinfo) => {
console.log(`OSC server: ${msg} from ${rinfo.address}:${rinfo.port} at /${msg[0]}`)
console.log(`OSC server: ${msg} from ${rinfo.address}:${rinfo.port} at ${msg[0]}`)
})

udpserver.bind(UDP_PORT)

0 comments on commit 2f28737

Please sign in to comment.
You can’t perform that action at this time.