A

Admin • 828.03K Points
Coach

Q. 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
  • Correct Answer - Option(B)
  • Views: 11
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
The readonly attribute readyState represents the state of the connection. It can have the following values:

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.