From 086caf48e55fb116bb99bd7bb3ee6db95e55d4f2 Mon Sep 17 00:00:00 2001 From: Daplie Date: Fri, 13 Jan 2017 19:43:56 -0700 Subject: [PATCH] that didn't work --- listen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/listen.js b/listen.js index 72123c4..7ea5c90 100644 --- a/listen.js +++ b/listen.js @@ -15,7 +15,7 @@ socket.on('message', function (message, rinfo) { console.log('Received %d bytes from %s:%d\n', message.length, rinfo.address, rinfo.port); //console.log(msg.toString('utf8')); - +buf.forEach parseInt(byte.toString('hex'), 16).toString(2); console.log(message.toString('hex')); var packets;