that didn't work
This commit is contained in:
parent
da7d8e3763
commit
086caf48e5
|
@ -15,7 +15,7 @@ socket.on('message', function (message, rinfo) {
|
||||||
console.log('Received %d bytes from %s:%d\n',
|
console.log('Received %d bytes from %s:%d\n',
|
||||||
message.length, rinfo.address, rinfo.port);
|
message.length, rinfo.address, rinfo.port);
|
||||||
//console.log(msg.toString('utf8'));
|
//console.log(msg.toString('utf8'));
|
||||||
|
buf.forEach parseInt(byte.toString('hex'), 16).toString(2);
|
||||||
console.log(message.toString('hex'));
|
console.log(message.toString('hex'));
|
||||||
var packets;
|
var packets;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue