property Socket.prototype.readyState
Usage in Deno
```typescript import { Socket } from "node:node__net.d.ts"; ```This property represents the state of the connection as a string.
* If the stream is connecting `socket.readyState` is `opening`.
* If the stream is readable and writable, it is `open`.
* If the stream is readable and not writable, it is `readOnly`.
* If the stream is not readable and writable, it is `writeOnly`.