Permalink
Browse files

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: #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>
  • Loading branch information...
Trott authored and italoacasas committed Feb 5, 2017
1 parent 73b32a3 commit 71f8a23da4dc0c0a42104481f323213762e62296
Showing with 2 additions and 2 deletions.
  1. +2 −2 doc/api/dgram.md
View
@@ -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

0 comments on commit 71f8a23

Please sign in to comment.