Socket.io - 402-advanced-javascript-traebennett/seattle-javascript-401d31 GitHub Wiki

Socket.io is an extension and way to connect to ports or programs and grab information that is needed. Socket.IO allows you to “namespace” your sockets, which essentially means assigning different endpoints or paths. This is a useful feature to minimize the number of resources (TCP connections) and at the same time separate concerns within your application by introducing separation between communication channels. In some cases, you might want to emit events to sockets in Socket.IO namespaces / rooms from outside the context of your Socket.IO processes. There’s several ways to tackle this problem, like implementing your own channel to send messages into the process.