Browse Source

doc: document socket.destroyed

Fixes: https://github.com/nodejs/node/issues/5898
PR-URL: https://github.com/nodejs/node/pull/6128
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
v7.x
Tushar Mathur 9 years ago
committed by cjihrig
parent
commit
193afef3b0
  1. 5
      doc/api/net.md

5
doc/api/net.md

@ -520,6 +520,11 @@ added: v0.1.90
Ensures that no more I/O activity happens on this socket. Only necessary in
case of errors (parse error or so).
### socket.destroyed
A Boolean value that indicates if the connection is destroyed or not. Once a
connection is destroyed no further data can be transferred using it.
### socket.end([data][, encoding])
<!-- YAML
added: v0.1.90

Loading…
Cancel
Save