mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
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:
1 parent
2cf3a53ce1
commit
253db33527
1 file changed
+6
@@ -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
|
||||
|
||||
Reference in new issue
Block a user