0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 15:30:56 +01:00
nodejs/lib/tcp.js
2010-03-19 21:22:11 -07:00

12 lines
296 B
JavaScript

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;