Browse Source

Fix a misnamed argument; multicastAddress -> multicastInterface. Closes #1237.

v0.7.4-release
Joe Shaw 14 years ago
committed by Paul Querna
parent
commit
7962eeef22
  1. 4
      doc/api/dgram.markdown

4
doc/api/dgram.markdown

@ -186,7 +186,7 @@ packets will also be received on the local interface.
Tells the kernel to join a multicast group with `IP_ADD_MEMBERSHIP` socket option. Tells the kernel to join a multicast group with `IP_ADD_MEMBERSHIP` socket option.
If `multicastAddress` is not specified, the OS will try to add membership to all valid If `multicastInterface` is not specified, the OS will try to add membership to all valid
interfaces. interfaces.
### dgram.dropMembership(multicastAddress, [multicastInterface]) ### dgram.dropMembership(multicastAddress, [multicastInterface])
@ -196,5 +196,5 @@ Opposite of `addMembership` - tells the kernel to leave a multicast group with
when the socket is closed or process terminates, so most apps will never need to call when the socket is closed or process terminates, so most apps will never need to call
this. this.
If `multicastAddress` is not specified, the OS will try to drop membership to all valid If `multicastInterface` is not specified, the OS will try to drop membership to all valid
interfaces. interfaces.

Loading…
Cancel
Save