From: Kyle Robinson Young Date: Sat, 4 Aug 2012 19:45:50 +0000 (-0700) Subject: doc: fix typos in child_process X-Git-Tag: v0.8.6~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bc7479d2321f7cbfe7567195a5bcf59d92acbb90;p=platform%2Fupstream%2Fnodejs.git doc: fix typos in child_process --- diff --git a/doc/api/child_process.markdown b/doc/api/child_process.markdown index 3bd79f2..76a785b 100644 --- a/doc/api/child_process.markdown +++ b/doc/api/child_process.markdown @@ -181,7 +181,7 @@ Here is an example of sending a server: child.send('server', server); }); -And the child would the recive the server object as: +And the child would the receive the server object as: process.on('message', function(m, server) { if (m === 'server') { @@ -196,7 +196,7 @@ that some connections will be handled by the parent and some by the child. **send socket object** -Here is an example of sending a socket. It will spawn two childs and handle +Here is an example of sending a socket. It will spawn two children and handle connections with the remote address `74.125.127.100` as VIP by sending the socket to a "special" child process. Other sockets will go to a "normal" process. @@ -228,7 +228,7 @@ The `child.js` could look like this: Note that once a single socket has been sent to a child the parent can no longer keep track of when the socket is destroyed. To indicate this condition the `.connections` property becomes `null`. -It is also recomended not to use `.maxConnections` in this condition. +It is also recommended not to use `.maxConnections` in this condition. ### child.disconnect()