doc: add added: info for dgram.*Membership()

Since I was doing the necessary git archaeology anyway, I took the time
to add YAML information to the docs about when `addMembership()` and
`dropMembership()` first appeared in their current forms.

PR-URL: https://github.com/nodejs/node/pull/6753
Ref: https://github.com/nodejs/node/issues/6578
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
Rich Trott authored and Rod Vagg committed 2016-06-02 22:37:02 +10:00
1 parent 2cf3a53ce1
commit 253db33527
1 file changed
+6
+6
View File
@@ -71,6 +71,9 @@ socket.on('message', (msg, rinfo) => {
```
### socket.addMembership(multicastAddress[, multicastInterface])
<!-- YAML
added: v0.6.9
-->
* `multicastAddress` {String}
* `multicastInterface` {String}, Optional
@@ -173,6 +176,9 @@ Close the underlying socket and stop listening for data on it. If a callback is
provided, it is added as a listener for the [`'close'`][] event.
### socket.dropMembership(multicastAddress[, multicastInterface])
<!-- YAML
added: v0.6.9
-->
* `multicastAddress` {String}
* `multicastInterface` {String}, Optional