{"action":"opened","issue":{"number":13,"created_at":"2011-10-16T10:49:19Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"That's because `net.Server.prototype._doListen` doesn't exist in v0.6. My guess is that we should override [`_listen2`](https://github.com/joyent/node/blob/master/lib/net.js#L652) instead, but I'm not familiar with `net` module internals.\r\n\r\nThis causes tests to fail:\r\n\r\n```\r\n♢ carapace/net/dolisten\r\n\r\n  When using haibu-carapace\r\n    ✓ it should fire the carapace::listening event\r\n  When using haibu-carapace spawning the server-dolisten.js script the child carapace should exit\r\n    ✗ with the correct exit code\r\n      » expected 0,\r\n\tgot\t 1 (==) // net-multiple-servers-test.js:61\r\n    ✗ and 3x emit the *::carapace::port event with the correct port\r\n      » expected 3,\r\n\tgot\t 0 (==) // net-multiple-servers-test.js:66\r\n```\r\n\r\n(Fixture exits [here](https://github.com/nodejitsu/haibu-carapace/blob/master/test/fixtures/multi-server.js#L22)).\r\n","comments":0,"title":"[v0.6] `net` module wrapper fails to override `_doListen` correctly","updated_at":"2011-10-16T10:49:19Z","url":"https://api.github.com/repos/nodejitsu/haibu-carapace/issues/13","id":1921118,"assignee":null,"milestone":null,"closed_at":null,"user":{"gravatar_id":"88980828020437cf9ec42c936d69e686","avatar_url":"https://secure.gravatar.com/avatar/88980828020437cf9ec42c936d69e686?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/mmalecki","id":692459,"login":"mmalecki"},"html_url":"https://github.com/nodejitsu/haibu-carapace/issues/13","labels":[],"state":"open"},"legacy":{"number":13,"action":"opened","issue":1921118}}