On Tue, Jul 30, 2013 at 8:17 AM, Akhil Puthiry <[email protected]> wrote: > socket.send(response_message, 0, response_message.length, port, host); ... > socket.bind(port, host); > > after the first invite signal > occurs.. the message event turn to an infinte loop. I'm sending only a > single INVITE signal.
You listen on port,host, then send a response back to port,host... you receive your own "response", you respond, ..... infinite loop? Use the rinfo object passed on the 'message' event to respond to the sender's address and port. I know, its not documented, but there is an example, it has a .address and .port. -- -- 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 --- 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]. For more options, visit https://groups.google.com/groups/opt_out.
