mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 15:30:56 +01:00
12 lines
296 B
JavaScript
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;
|