diff options
author | Rich Trott <rtrott@gmail.com> | 2017-02-05 13:25:01 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2017-02-07 15:44:35 -0800 |
commit | ef977cf8a0a538fe4804f032233a2174a8767ceb (patch) | |
tree | 9cb2eb238c32f630c2f35023f6b359921f7ce501 | |
parent | 2f1f48ac2ad2b75169b909d112d760ce68d01abc (diff) | |
download | node-new-ef977cf8a0a538fe4804f032233a2174a8767ceb.tar.gz |
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 <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
-rw-r--r-- | doc/api/dgram.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/dgram.md b/doc/api/dgram.md index 65a89913ba..2e214beb2f 100644 --- a/doc/api/dgram.md +++ b/doc/api/dgram.md @@ -448,8 +448,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 |