I tried to send a quite long string (abt 40000 characters) via a UNIX Domain Socket in node.js. But it does not send it right. at the receiver I get some parts of the string multiple times... Any Idea whats the problem here?
The receiver is a node.js app I send it via
nc -U /tmp/node.sock
heres the node.js code I use to receive the message
var server = net.createServer(function (socket) {
socket.on('data', function (data) {
console.log(data.toString());
});
}).listen('/tmp/node.sock');