We will be learning to create a real time application by covering the following scenario. More in-depth info about the above three technologies can be read here. One can send a request to the server and receive event driven responses without Polling the server for a reply, making web sockets a best choice for our use case. Web Sockets: make it possible to open interactive communication between the client and server. Long Polling: Like AJAX, but the server holds on the response until it has an update.Īfter receiving it, the client sends another request, and needs additional header to be traversed back and forth causing additional overhead. Technologies which can be used for realtime communication are: Short Polling: AJAX, creates heavy traffic. These all are the common scenarios of our day to day lives where we cant tolerate a delay in the updating of information and hence need real time communication. Android Realtime Notification Socket Io Update To Theįood order info update to the kitchen of your favourite restaurant. Getting new messages instantly on your favourite chatting application. The below code demonstrates one of the approaches to keep your app modular. I completed my Bachelors of Engineering (Computer Science Engineering) in Chennai, India. In the process they punch a hole through the NATrouter which is used in step3. Android Realtime Notification Socket Io Download The Report.Android Realtime Notification Socket Io Update To The.
0 Comments
Leave a Reply. |