@@ -155,7 +155,7 @@ The number of concurrent connections on the server.
155
155
156
156
This becomes ` null ` when sending a socket to a child with
157
157
[ ` child_process.fork() ` ] [ ] . To poll forks and get current number of active
158
- connections use asynchronous ` server.getConnections ` instead.
158
+ connections use asynchronous [ ` server.getConnections() ` ] [ ] instead.
159
159
160
160
### server.getConnections(callback)
161
161
<!-- YAML
@@ -232,7 +232,7 @@ Start a server listening for connections on a given `handle` that has
232
232
already been bound to a port, a UNIX domain socket, or a Windows named pipe.
233
233
234
234
The ` handle ` object can be either a server, a socket (anything with an
235
- underlying ` _handle ` member), or an object with a ` fd ` member that is a
235
+ underlying ` _handle ` member), or an object with an ` fd ` member that is a
236
236
valid file descriptor.
237
237
238
238
* Note* : Listening on a file descriptor is not supported on Windows.
@@ -366,7 +366,7 @@ A `net.Socket` can be created by the user and used directly to interact with
366
366
a server. For example, it is returned by [ ` net.createConnection() ` ] [ ] ,
367
367
so the user can use it to talk to the server.
368
368
369
- It can also be be created by Node.js and passed to the user when a connection
369
+ It can also be created by Node.js and passed to the user when a connection
370
370
is received. For example, it is passed to the listeners of a
371
371
[ ` 'connection' ` ] [ ] event emitted on a [ ` net.Server ` ] [ ] , so the user can use
372
372
it to interact with the client.
@@ -384,9 +384,9 @@ Creates a new socket object.
384
384
* ` allowHalfOpen ` {boolean} Indicates whether half-opened TCP connections
385
385
are allowed. See [ ` net.createServer() ` ] [ ] and the [ ` 'end' ` ] [ ] event
386
386
for details. Defaults to ` false ` .
387
- * ` readable ` {boolean} Allow reads on the socket when a ` fd ` is passed,
387
+ * ` readable ` {boolean} Allow reads on the socket when an ` fd ` is passed,
388
388
otherwise ignored. Defaults to ` false ` .
389
- * ` writable ` {boolean} Allow reads on the socket when a ` fd ` is passed,
389
+ * ` writable ` {boolean} Allow writes on the socket when an ` fd ` is passed,
390
390
otherwise ignored. Defaults to ` false ` .
391
391
* Returns: {net.Socket}
392
392
0 commit comments