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

This commit is contained in:
Joe Shaw 2011-06-27 13:25:05 -04:00 committed by Bert Belder
parent ff50310cc5
commit f6fa20fd55

View File

@ -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.