@@ -1222,8 +1222,8 @@ added: v0.5.9
1222
1222
-->
1223
1223
1224
1224
* ` message ` {Object} A parsed JSON object or primitive value.
1225
- * ` sendHandle ` {Handle} A [ ` net.Socket ` ] [ ] or [ ` net.Server ` ] [ ] object, or
1226
- undefined .
1225
+ * ` sendHandle ` {Handle|undefined} ` undefined ` or a [ ` net.Socket ` ] [ ] ,
1226
+ [ ` net.Server ` ] [ ] , or [ ` dgram.Socket ` ] [ ] object .
1227
1227
1228
1228
The ` 'message' ` event is triggered when a child process uses
1229
1229
[ ` process.send() ` ] [ ] to send messages.
@@ -1479,7 +1479,8 @@ changes:
1479
1479
-->
1480
1480
1481
1481
* ` message ` {Object}
1482
- * ` sendHandle ` {Handle}
1482
+ * ` sendHandle ` {Handle|undefined} ` undefined ` , or a [ ` net.Socket ` ] [ ] ,
1483
+ [ ` net.Server ` ] [ ] , or [ ` dgram.Socket ` ] [ ] object.
1483
1484
* ` options ` {Object} The ` options ` argument, if present, is an object used to
1484
1485
parameterize the sending of certain types of handles. ` options ` supports
1485
1486
the following properties:
@@ -1537,7 +1538,8 @@ The optional `sendHandle` argument that may be passed to `subprocess.send()` is
1537
1538
for passing a TCP server or socket object to the child process. The child will
1538
1539
receive the object as the second argument passed to the callback function
1539
1540
registered on the [ ` 'message' ` ] [ ] event. Any data that is received
1540
- and buffered in the socket will not be sent to the child.
1541
+ and buffered in the socket will not be sent to the child. Sending IPC sockets is
1542
+ not supported on Windows.
1541
1543
1542
1544
The optional ` callback ` is a function that is invoked after the message is
1543
1545
sent but before the child may have received it. The function is called with a
@@ -1870,6 +1872,7 @@ or [`child_process.fork()`][].
1870
1872
[ `child_process.fork()` ] : #child_processforkmodulepath-args-options
1871
1873
[ `child_process.spawn()` ] : #child_processspawncommand-args-options
1872
1874
[ `child_process.spawnSync()` ] : #child_processspawnsynccommand-args-options
1875
+ [ `dgram.Socket` ] : dgram.md#class-dgramsocket
1873
1876
[ `maxBuffer` and Unicode ] : #maxbuffer-and-unicode
1874
1877
[ `net.Server` ] : net.md#class-netserver
1875
1878
[ `net.Socket` ] : net.md#class-netsocket
0 commit comments