Readystate

Websocket readystate always 0
What is readyState in WebSocket?When readyState of a socket object is its connection not yet established?Why won't WebSocket connect?Which value of s...