that didn't work

This commit is contained in:
Daplie 2017-01-13 19:43:56 -07:00
parent da7d8e3763
commit 086caf48e5
1 changed files with 1 additions and 1 deletions

View File

@ -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;