Exam-style question
Try this first
Which statement best describes a WebSocket connection?.
- A.It is a persistent, full-duplex connection over TCP
- B.It permits data to travel only from the server to the client
- C.It is used only to store data in a database
- D.It replaces HTML files in a web application
Answer and explanation
Concise answer
It is a persistent, full-duplex connection over TCP
Why this is correct
The WebSocket specification establishes a persistent connection between a web browser and a server over TCP. Full-duplex communication allows both sides to send data at any time.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
