mirror of https://github.com/nodejs/node.git
doc: fix typo in child_process documentation
TSCP should be TCP PR-URL: https://github.com/nodejs/node/pull/5474 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>pull/5474/head
parent
8d8fef09ee
commit
3c79bbda47
|
@ -826,7 +826,7 @@ used to implement flow control.
|
||||||
#### Example: sending a server object
|
#### Example: sending a server object
|
||||||
|
|
||||||
The `sendHandle` argument can be used, for instance, to pass the handle of
|
The `sendHandle` argument can be used, for instance, to pass the handle of
|
||||||
a TSCP server object to the child process as illustrated in the example below:
|
a TCP server object to the child process as illustrated in the example below:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const child = require('child_process').fork('child.js');
|
const child = require('child_process').fork('child.js');
|
||||||
|
|
Loading…
Reference in New Issue