Thanks ,everyone. I will give a id to the res object and keep a record in a
map of the format {res_id:id,res:res}, in my tcp 'data' listener,I will get
the response from my tcp backend server with a res_id in it ,and then send
the http response using the res object that has been saved before,then
delete the corresponding res object in the map.-- 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
