0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-22 07:37:56 +01:00
nodejs/tcp_example.js

10 lines
122 B
JavaScript
Raw Normal View History

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