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
11 changes: 11 additions & 0 deletions doc/api/net.md
Original file line number Diff line number Diff line change
Expand Up @@ -1347,6 +1347,17 @@ added: v0.5.10
The numeric representation of the remote port. For example, `80` or `21`. Value may be `undefined` if
the socket is destroyed (for example, if the client disconnected).

### `socket.server`

<!-- YAML
added: v0.3.4
-->

* Type: {net.Server|null}

Reference to the server that accepted the socket. This property is `null` for
sockets that were not created by a [`net.Server`][].

### `socket.resetAndDestroy()`

<!-- YAML
Expand Down
Loading