@@ -67,7 +67,7 @@ The options are passed to both the ['net.Socket'](#net_class_net_socket)
67
67
constructor and the [ 'socket.connect'] ( #net_socket_connect_options_connectlistener )
68
68
method.
69
69
70
- The ` connectListener ` parameter will be added as an listener for the
70
+ The ` connectListener ` parameter will be added as a listener for the
71
71
[ 'connect'] [ ] event.
72
72
73
73
Here is an example of a client of the previously described echo server:
@@ -100,7 +100,7 @@ supplied `port` and `host`.
100
100
101
101
If ` host ` is omitted, ` 'localhost' ` will be assumed.
102
102
103
- The ` connectListener ` parameter will be added as an listener for the
103
+ The ` connectListener ` parameter will be added as a listener for the
104
104
[ 'connect'] [ ] event.
105
105
106
106
## net.connect(path[ , connectListener] )
@@ -110,7 +110,7 @@ A factory function, which returns a new unix
110
110
[ 'net.Socket'] ( #net_class_net_socket ) and automatically connects to the
111
111
supplied ` path ` .
112
112
113
- The ` connectListener ` parameter will be added as an listener for the
113
+ The ` connectListener ` parameter will be added as a listener for the
114
114
[ 'connect'] [ ] event.
115
115
116
116
## Class: net.Server
@@ -131,7 +131,7 @@ parameter is 511 (not 512).
131
131
132
132
This function is asynchronous. When the server has been bound,
133
133
[ 'listening'] [ ] event will be emitted. The last parameter ` callback `
134
- will be added as an listener for the [ 'listening'] [ ] event.
134
+ will be added as a listener for the [ 'listening'] [ ] event.
135
135
136
136
One issue some users run into is getting ` EADDRINUSE ` errors. This means that
137
137
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.
193
193
194
194
This function is asynchronous. When the server has been bound,
195
195
[ 'listening'] [ ] event will be emitted.
196
- The last parameter ` callback ` will be added as an listener for the
196
+ The last parameter ` callback ` will be added as a listener for the
197
197
[ 'listening'] [ ] event.
198
198
199
199
### server.listen(options[ , callback] )
@@ -368,7 +368,7 @@ This function is asynchronous. When the ['connect'][] event is emitted the
368
368
socket is established. If there is a problem connecting, the ` 'connect' ` event
369
369
will not be emitted, the ` 'error' ` event will be emitted with the exception.
370
370
371
- The ` connectListener ` parameter will be added as an listener for the
371
+ The ` connectListener ` parameter will be added as a listener for the
372
372
[ 'connect'] [ ] event.
373
373
374
374
### socket.connect(port[ , host] [ , connectListener ] )
0 commit comments