What is WebSocket Protocol ?
Interview question and answer by: Rajkatie
| Posted on: 5/24/2012 | Category: ASP.NET Interview questions
| Views: 909 | | Points: 40
Current HTTP protocol isn’t designed to be a real-time medium means modern web applications use classic polling solutions(via Ajax) to give the impression of continuous feel.
Polling is a good solution, even though it might suffer from client-to-server and server-to-client latency.
So, we can overcome a structural limitation of the HTTP protocol using WebSocket protocol. It enables bidirectional communication between Web applications and Web servers over a single TCP socket.
It also make possible for a Web application hosted in a browser to stay connected with a Web endpoint all the time while incurring minimal costs such as pressure on the server, memory and resource consumption.
| Alert Moderator
Found interesting? Add this to: