Created
February 5, 2011 11:22
-
-
Save koichik/812383 to your computer and use it in GitHub Desktop.
correct small typos for dgram.markdown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From cb32022a99347507234bf9bd455b2f34b066ad92 Mon Sep 17 00:00:00 2001 | |
From: koichik <koichik@improvement.jp> | |
Date: Sat, 5 Feb 2011 20:07:28 +0900 | |
Subject: [PATCH] corrected small typos | |
--- | |
doc/api/dgram.markdown | 4 ++-- | |
1 files changed, 2 insertions(+), 2 deletions(-) | |
diff --git a/doc/api/dgram.markdown b/doc/api/dgram.markdown | |
index a1c1997..7ed670c 100644 | |
--- a/doc/api/dgram.markdown | |
+++ b/doc/api/dgram.markdown | |
@@ -192,10 +192,10 @@ interfaces. | |
### dgram.dropMembership(multicastAddress, [multicastInterface]) | |
-Opposite of `dropMembership` - tells the kernel to leave a multicast group with | |
+Opposite of `addMembership` - tells the kernel to leave a multicast group with | |
`IP_DROP_MEMBERSHIP` socket option. This is automatically called by the kernel | |
when the socket is closed or process terminates, so most apps will never need to call | |
this. | |
-If `multicastAddress` is not specified, the OS will try to add membership to all valid | |
+If `multicastAddress` is not specified, the OS will try to drop membership to all valid | |
interfaces. | |
-- | |
1.7.1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment