A real-time chat app made with socket.io
- socket.io
- socket.io Documentation
- Socket.io uses websockets that provide a persistent connection between the client and the server.
- The connection is full-duplex, meaning both the client and the server can send data to each other.
- This makes bidirectional communication possible.
- We can emmit an event from the client to the server.
- The server can listen for the event from the client.
- The server can then emit another event to others.
- It also has rooms.