I'm using the latest node.js on windows 8.1 64bit.
I'm sending data from a java client to my node.js tcp server:
net.createServer().listen(12345, '127.0.0.1').on('connection', function(socket)
{ self.onConnection(socket); });
i attach the data event to the socket.
socket.on('data', function(data) { self.onData(data); });
*The problem:* I do receive the data, however it is delayed by about a
second.
receiving..1440501758499
receiving..1440501759554
receiving..1440501760250
receiving..1440501761296
receiving..1440501762353
receiving..1440501763196
receiving..1440501764244
receiving..1440501765317
receiving..1440501765860
I have no idea why this happens or what causes the delay. Any ideas?
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/nodejs/40a731d9-4c03-491c-a2ae-7eb4463732d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.