0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-21 21:19:50 +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");
}
});