Using WebSocket

The WebSocket architecture is suitable to all those web applications that need to exchange events frequently, but the speed with which the data is exchanged with the target matters. Examples of such events are as follows:

  • Social media plays a very important role nowadays in keeping touch with family and friends. The user always enjoys real-time updates of the feeds made by their circle.
  • Many online multiplayer games are now available on the Web. In such games, each player is always keen to know what his opponent is doing. Nobody wants to discover the opponent's move after making their move.
  • In development, version-control tools such as Tortoise SVN and Git help us keep track of the files so that the exchange of code becomes easier, without conflict. Therefore, in such cases, we would need information about who is working on which of the files in real time.
  • In financial investments, one always wants to know the real-time and updated price of the company that he is interested in.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.188.40.207