Why do I need a WebSocket server?
We assume that you have a minor familiarity with servers in general. A server is nothing but a remote computer that has specific hardware and software requirements in order to achieve high availability and up-time, enhanced security, and management of multiple concurrent connections.
A WebSocket server is nothing but a simple program that is able to handle WebSocket events and actions. It usually exposes similar methods to the WebSocket client API and most programming languages provide an implementation. The following diagram illustrates the communication process between a WebSocket server and a WebSocket client, emphasizing the triggered events and actions.
The following diagram shows WebSocket server and client event triggering:
Do not get confused—a WebServer can either run on top of Apache or IIS—or it can be a completely different application by itself.
Considering the hardware, you could use a super-computer or your developer machine as a server. It's...