diff --git a/doc/api/dgram.md b/doc/api/dgram.md index 4ec269655cf612..85ea342c8ebd7b 100644 --- a/doc/api/dgram.md +++ b/doc/api/dgram.md @@ -108,7 +108,7 @@ Tells the kernel to join a source-specific multicast channel at the given `IP_ADD_SOURCE_MEMBERSHIP` socket option. If the `multicastInterface` argument is not specified, the operating system will choose one interface and will add membership to it. To add membership to every available interface, call -`addSourceSpecificMembership` multiple times, once per interface. +`socket.addSourceSpecificMembership()` multiple times, once per interface. ### socket.address()