How does the client and the server communicate following the rules defined by the WebSocket protocol?
A. Long-lived TCP Socket
B. Short-lived TCP Socket
C. UDP Socket
D. HTTP Socket
Answer: Option A
Solution(By Examveda Team)
The client and server communicate over a long-lived TCP socket following rules defined by the WebSocket protocol.Related Questions on Sockets
What does the value 2 of the WebSocket attribute Socket.readyState indicate?
A. Closed connection
B. Handshake connection
C. Unestablished connection
D. Established connection and communication is possible
Which method is used to close the WebSocket?
A. Socket.flush()
B. Socket.close()
C. Socket.Close()
D. Socket.dispose()
Join The Discussion