diff options
Diffstat (limited to 'tcp_example.js')
-rw-r--r-- | tcp_example.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tcp_example.js b/tcp_example.js new file mode 100644 index 0000000000..8940b85a02 --- /dev/null +++ b/tcp_example.js @@ -0,0 +1,9 @@ + +TCP.connect ({ + host: "google.com", + port: 80, + connected: function () { + log("connected to google.com"); + } +}); + |