Added the reason to use socket.io over pure websockets (#18816)

This commit is contained in:
Carcraftz
2018-10-15 17:32:49 -04:00
committed by Quincy Larson
parent 4348a4e1e2
commit 76881d4404

View File

@ -4,7 +4,7 @@ title: Socket.io
## Socket.io
[Socket.io](https://socket.io/) is a Node.js library made to help make real-time communication between computers possible. To ensure this Socket.io uses WebSockets to establish a connection between the client's browser and the server. This library uses [Engine.IO](https://github.com/socketio/engine.io) for building the connection.
[Socket.io](https://socket.io/) is a Node.js library made to help make real-time communication between computers possible. To ensure this Socket.io uses a combination of WebSockets and Polling to establish a connection between the client's browser and the server. This allows it to work on older browsers that may not support pure websockets. This library uses [Engine.IO](https://github.com/socketio/engine.io) for building the connection.
### Demos