From ca4b2f6154be91224c46321521d1959ccf2bd45e Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 5 Feb 2017 13:25:01 -0800 Subject: [PATCH] doc: fix typo in dgram doc There is a typographical error in the dgram documentation. Reword to eliminate the error and increase clarity. PR-URL: https://github.com/nodejs/node/pull/11186 Reviewed-By: James M Snell Reviewed-By: Colin Ihrig Reviewed-By: Sakthipriyan Vairamani Reviewed-By: Luigi Pinca --- doc/api/dgram.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/dgram.md b/doc/api/dgram.md index b80289f6c99bdd..5ec7db69cd4f29 100644 --- a/doc/api/dgram.md +++ b/doc/api/dgram.md @@ -413,8 +413,8 @@ boolean `reuseAddr` field. When `reuseAddr` is `true` [`socket.bind()`][] will reuse the address, even if another process has already bound a socket on it. `reuseAddr` defaults to -`false`. An optional `callback` function can be passed specified which is added -as a listener for `'message'` events. +`false`. The optional `callback` function is added as a listener for `'message'` +events. Once the socket is created, calling [`socket.bind()`][] will instruct the socket to begin listening for datagram messages. When `address` and `port` are