summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2015-07-27 21:00:32 -0700
committerSam Roberts <vieuxtech@gmail.com>2015-07-28 11:06:14 -0700
commit500f2538cc00d389a22b6ddcdd51d2af2c4a7478 (patch)
tree9ddcbd4d73d889d98caee6c0918d301de0531344 /doc
parent54627a919dbaa84de0ab53a4917deb2d4d848fc9 (diff)
downloadandroid-node-v8-500f2538cc00d389a22b6ddcdd51d2af2c4a7478.tar.gz
android-node-v8-500f2538cc00d389a22b6ddcdd51d2af2c4a7478.tar.bz2
android-node-v8-500f2538cc00d389a22b6ddcdd51d2af2c4a7478.zip
doc: a listener, not "an" listener
Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Trevor Norris <trev.norris@gmail.com> PR-URL: https://github.com/nodejs/io.js/pull/1025
Diffstat (limited to 'doc')
-rw-r--r--doc/api/net.markdown6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/net.markdown b/doc/api/net.markdown
index 21e7e5a0a3..adc1d97053 100644
--- a/doc/api/net.markdown
+++ b/doc/api/net.markdown
@@ -131,7 +131,7 @@ parameter is 511 (not 512).
This function is asynchronous. When the server has been bound,
['listening'][] event will be emitted. The last parameter `callback`
-will be added as an listener for the ['listening'][] event.
+will be added as a listener for the ['listening'][] event.
One issue some users run into is getting `EADDRINUSE` errors. This means that
another server is already running on the requested port. One way of handling this
@@ -193,7 +193,7 @@ Listening on a file descriptor is not supported on Windows.
This function is asynchronous. When the server has been bound,
['listening'][] event will be emitted.
-The last parameter `callback` will be added as an listener for the
+The last parameter `callback` will be added as a listener for the
['listening'][] event.
### server.listen(options[, callback])
@@ -374,7 +374,7 @@ This function is asynchronous. When the ['connect'][] event is emitted the
socket is established. If there is a problem connecting, the `'connect'` event
will not be emitted, the `'error'` event will be emitted with the exception.
-The `connectListener` parameter will be added as an listener for the
+The `connectListener` parameter will be added as a listener for the
['connect'][] event.
### socket.connect(port[, host][, connectListener])