SocketIO IRC-style Tutorial – Part 3 – The server code

This is the 3rd post in a multi-part tutorial series on Socket.io. See Part 2 here. In today’s portion of the tutorial, I’ll be explaining the server side (NodeJS) code in a bit more verbosity than the comments. A fair portion of this will simply be explaining the “why” of each section of code. Additionally, since we haven’t discussed the client side code, I’ll be enumerating on the missing links...