What is the difference between server sent events and websockets in html5?



What is the difference between server sent events and websockets in html5?..

Answer / Mrs Madhu

Server-sent events (SSE) allow a web server to push real-time updates to the client, whereas WebSockets provide a two-way communication channel between the client and server. SSE uses HTTP protocol, while WebSockets use a lower-level TCP protocol, making it more efficient for real-time applications.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More HTML DHTML Interview Questions

What is bulleted and numbered lists?

1 Answers  


how do I make a picture a link?

1 Answers  


What is formatting in html?

1 Answers  


What is the most common markup language?

1 Answers  


Which element provides the autocomplete feature in a textbox?

1 Answers  


How do you use form tags?

1 Answers  


Is meta keywords still useful?

1 Answers  


Is xhtml element name case sensitive?

1 Answers  


What are the audio tags provided by HTML 5?

1 Answers  


Why is html5 so popular nowadays?

1 Answers  


give zigzag motion to the image for webdesigning

0 Answers  


What is meant by dom?

1 Answers  


Categories