@@ -124,11 +124,10 @@ process may not actually kill it. `kill` really just sends a signal to a proces
124
124
125
125
See ` kill(2) `
126
126
127
- ### child.send(message, [ sendHandle] , [ options ] )
127
+ ### child.send(message, [ sendHandle] )
128
128
129
129
* ` message ` {Object}
130
130
* ` sendHandle ` {Handle object}
131
- * ` options ` {Object}
132
131
133
132
When using ` child_process.fork() ` you can write to the child using
134
133
` child.send(message, [sendHandle]) ` and messages are received by
@@ -167,12 +166,7 @@ The `sendHandle` option to `child.send()` is for sending a TCP server or
167
166
socket object to another process. The child will receive the object as its
168
167
second argument to the ` message ` event.
169
168
170
- The ` options ` object may have the following properties:
171
-
172
- * ` track ` - Notify master process when ` sendHandle ` will be closed in child
173
- process. (` false ` by default)
174
-
175
- ** send server object**
169
+ #### Example: sending server object
176
170
177
171
Here is an example of sending a server:
178
172
@@ -200,7 +194,7 @@ And the child would the receive the server object as:
200
194
Note that the server is now shared between the parent and child, this means
201
195
that some connections will be handled by the parent and some by the child.
202
196
203
- ** send socket object**
197
+ #### Example: sending socket object
204
198
205
199
Here is an example of sending a socket. It will spawn two children and handle
206
200
connections with the remote address ` 74.125.127.100 ` as VIP by sending the
0 commit comments