Home » HTML » Html miscellaneous » Question
  1. Which of the following is not associated with web socket communication?
    1. http
    2. ws
    3. wss
    4. https
    5. None of these
Correct Option: A

For opening WebSocket we call WebSocket constructor. The syntax is

var conn=new WebSocket(‘ws://rtyyghj.websocket.org/echo’,[‘brush’, ‘xmpp’]);



Your comments will be displayed only after manual approval.