diff --git a/lib/tcp.js b/lib/tcp.js deleted file mode 100644 index 64080be87b..0000000000 --- a/lib/tcp.js +++ /dev/null @@ -1,11 +0,0 @@ -var net = require('net'); -var sys = require('sys'); - -var warning; -if (!warning) { - warning = "The 'tcp' module is now called 'net'. Otherwise it should have a similar interface."; - sys.error(warning); -} - -exports.createServer = net.createServer; -exports.createConnection = net.createConnection; diff --git a/src/node.cc b/src/node.cc index 99252f906c..66800bf300 100644 --- a/src/node.cc +++ b/src/node.cc @@ -1514,7 +1514,6 @@ static Handle Binding(const Arguments& args) { exports->Set(String::New("repl"), String::New(native_repl)); exports->Set(String::New("readline"), String::New(native_readline)); exports->Set(String::New("sys"), String::New(native_sys)); - exports->Set(String::New("tcp"), String::New(native_tcp)); exports->Set(String::New("url"), String::New(native_url)); exports->Set(String::New("utils"), String::New(native_utils)); exports->Set(String::New("path"), String::New(native_path));