Skip to content

Commit

Permalink
doc: fix typo in dgram doc
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
Trott authored and MylesBorins committed Mar 9, 2017
1 parent bb1e97c commit ca4b2f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/dgram.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca4b2f6

Please sign in to comment.