Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions doc/api/net.md
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,11 @@ with options either as either `{port: port, host: host}` or `{path: path}`.
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])

Half-closes the socket. i.e., it sends a FIN packet. It is possible the
Expand Down