Without Socket.IO, the client would have to make multiple polling AJAX calls to verify that the event has occurred on the server. With Socket.IO, you'd know (almost) instantly about conceding a goal. Socket.IO allows the server to push information to the client in real time, when events occur on the server.įor example, if you were playing a multiplayer game, an event could be your "friend" scoring a spectacular goal against you.
0 Comments
Leave a Reply. |