My Blog Posts

What is Socket IO

What is Socket IO


Socket.io is one of the most valuable libraries of those who thrive with Node.js. Why? This means realtime communication because synchronised communication only allows it to happen in your app.

The possibilities of Socket.io are really great. Useful for anything that requires instant communication among visitors to your website. This, for example, brings the data without having to reload the page.

Websocket:

WebSocket is a feature supported by all new browsers. Between client and server synchronised binary exchange Allows .

Communication on the web is usually not synchronized. The Internet has always been this way: the client demands and the server responds.


WebSocket is an innovation that allows explicit communication between the client and the server. The browser and server remain connected and can exchange messages in one direction and in the other direction through this connection. So now the server can send a message on its own.

Socket.io allows us to use WebSockets very easily. We can see that Socket.io determines that the realtime communication method is optimal for each customer.



Share this article


Comments (0)

Comment