0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +01:00
nodejs/lib/tcp.js

12 lines
296 B
JavaScript
Raw Normal View History

2010-03-20 05:22:11 +01:00
var net = require('net');
var sys = require('sys');
2010-03-15 21:48:03 +01:00
2010-03-20 05:22:11 +01:00
var warning;
if (!warning) {
warning = "The 'tcp' module is now called 'net'. Otherwise it should have a similar interface.";
sys.error(warning);
2009-11-22 03:58:08 +01:00
}
2010-03-20 05:22:11 +01:00
exports.createServer = net.createServer;
exports.createConnection = net.createConnection;