With socket.io 1.0 it is now possible to send binary data from the server to the client side. For example, you can do this:
fs.readFile(__dirname + '/assets/pigeon-final.png', function(err, buf){
socket.emit('image', { image: true, buffer: buf.toString('base64') });
if(!err){
console.log('image test success');
}
});
Is it, however, possible to do the inverse? For example, sending binary data from the client side to the server side instead?