> These requests are now processed using http.request() within a loop, so the response of each requests are came in different order.
It is not a loop. It is a callback function and it is called on every new request, without waiting. The major feature of node is that nothing waits very long for anything. It is "non-blocking" which means instead of waits there are callbacks that happen later. You will need to learn this new style of coding, which can be hard for beginners. May I suggest you start with a tutorial like http://www.nodebeginner.org/ ? -- Job Board: http://jobs.nodejs.org/ Posting guidelines: 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 post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
