thank's for answer i put all socket in object with user id key for example if user id is 3 sockets_ob[3] = socket and when administrator need send data for user 3 use sockets_ob[3] how change this to program works right ?
On Wednesday, June 7, 2017 at 9:01:35 AM UTC+4:30, Lucas Oliveira wrote: > > Maybe the problem is with this req, it should be request instead of only > req. This problem happens with a lot of people beginning with Node.js. The > problem with putting variable names like these, it's exactly this, they > evently will crash or happen some error that you didn't expected. > > On Tuesday, June 6, 2017 at 10:50:56 AM UTC-3, VR76 wrote: >> >> hi >> my node js program listen to port 8000. it's going right but when c# >> program connect to server and after connect and before recive data . if c# >> detect connect from server the node js crash and give error >> the error refered to file *net* line *883* >> this line >> >> req.address = address; >> >> -- 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/176539e4-1842-442d-b8db-06fe5bb183eb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
