On Saturday, April 28, 2012 7:56:10 PM UTC+2, eddyystop wrote:
>
> A question though. In client.html:
> What calls the callback in: socket.emit('emit_msg", txt, function (data)
> {...});
>
The callback is called when the server has successfully received the data.
There is no custom code to write for that on the server.js file.
> In server.js you might want to drop of the trailing semicolon in:
> function handler (...) {...};
>
You're right, thanks.
--
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