diff --git a/lib/net.js b/lib/net.js index eec7619bc74d15..f962a848fad662 100644 --- a/lib/net.js +++ b/lib/net.js @@ -380,15 +380,6 @@ Socket.prototype.read = function(n) { return this.read(n); }; - -// FIXME(joyeecheung): this method is neither documented nor tested -Socket.prototype.listen = function() { - debug('socket.listen'); - this.on('connection', arguments[0]); - listenInCluster(this, null, null, null); -}; - - Socket.prototype.setTimeout = function(msecs, callback) { if (msecs === 0) { timers.unenroll(this);