property
Socket.readyState
readonly readyState: -2 | -1 | 0 | 1 | 2
The ready state of the socket.
A positive value means the socket is open and usable
-2= Shutdown-1= Detached0= Closed1= Established2= Else