diff --git a/lib/net.js b/lib/net.js index dae596eec0780c..68cc786252c037 100644 --- a/lib/net.js +++ b/lib/net.js @@ -370,13 +370,6 @@ function writeAfterFIN(chunk, encoding, cb) { } } -// 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) {