node/tcp_example.js

10 строки
122 B
JavaScript

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