Revision c13354e3 lib/net.js

View differences:

lib/net.js
142 142
  stream.Duplex.call(this, options);
143 143

  
144 144
  if (options.handle) {
145
    // Initialize TCPWrap and PipeWrap
146
    process.binding('tcp_wrap');
147
    process.binding('pipe_wrap');
148

  
149 145
    this._handle = options.handle; // private
150 146
  } else if (typeof options.fd !== 'undefined') {
151 147
    this._handle = createPipe();

Also available in: Unified diff