0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-24 20:29:23 +01:00
nodejs/tcp_example.js

10 lines
122 B
JavaScript

TCP.connect ({
host: "google.com",
port: 80,
connected: function () {
log("connected to google.com");
}
});