To send a message I must pass the address as a parameter. Then according to the documentation, the address is resolved and if the DNS lookup fails, it returns an error using the optional callback.
socket.send(buf, offset, length, port, address, [callback]) My question is: If I resolve the address before sending the message, will I win speed? That is, socket.send() tries to resolve the address each time it is called. I can resolve the address and then use the IP to send the message. Is this correct? -- -- 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.
