{"comment":{"created_at":"2011-10-12T12:24:38Z","body":"The first bug is already solved see https://github.com/joyent/node/commit/49c3a910c67df8e8eeb3d33d284de29439b1e0e4\r\n\r\nThe 2nd one I don't know... :-(","updated_at":"2011-10-12T12:24:38Z","url":"https://api.github.com/repos/joyent/node/issues/comments/2378576","id":2378576,"user":{"avatar_url":"https://secure.gravatar.com/avatar/60b9cc1b90ebe435542919ce877c97d7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/stolsma","id":474182,"login":"stolsma"}},"action":"created","issue":{"number":1870,"created_at":"2011-10-12T11:54:42Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"the document here:\r\nhttp://nodejs.org/docs/v0.5.9/api/child_processes.html#child_process.fork\r\n\r\n<pre>\r\n<code>\r\nprocess.on('message', function(m, serverHandle) {\r\n  if (serverHandle) {\r\n    var server = require('child_process').createServer();\r\n    server.listen(serverHandle);\r\n  }\r\n});\r\n</code>\r\n</pre>\r\nI think it should be require(\"net\").createServer ,\r\nbesides that :\r\n<pre>\r\n<code>\r\nvar server = require('net').createServer();\r\nvar child = require('child_process').fork(__dirname + '/child.js');\r\n// Open up the server object and send the handle.\r\nchild.send({ server: true }, server._handle);\r\n</code>\r\n</pre>\r\nafter we createServer , the server._handle is null until we call  server.listen method ,\r\nso we send a null handle to child process?\r\n\r\nwhat's your opinion?","comments":1,"title":"v0.5.9  child.fork()  document error","updated_at":"2011-10-12T12:24:38Z","url":"https://api.github.com/repos/joyent/node/issues/1870","id":1886636,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/e9e2e24aa3ed291923d223924ec694ba?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/windyrobin","id":42018,"login":"windyrobin"},"html_url":"https://github.com/joyent/node/issues/1870","labels":[],"state":"open"},"legacy":{"issue_id":1886636,"comment_id":2378576}}