Monday, 15 February 2010

node.js - Synchronous network wrapper for nodeJs -



node.js - Synchronous network wrapper for nodeJs -

is possible read tcp/ip socket synchronously on nodejs?

i have lots of trade orders should sent via tcp/ip prepare server. need sent next order after previous has been received, it's bit oncomfortable handle responses via socket.on('data'). have create many loops, listening , writing.

what i'm trying : send order -> read socket in loop right response -> send next order

so question - how straight read tcp/ip socket in nodejs without event hadlers?

node.js sockets tcp

No comments:

Post a Comment