Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
assets/ | 22-Nov-2023 | - | ||||
commands/ | 22-Nov-2023 | - | 93 | 58 | ||
styles/ | 22-Nov-2023 | - | 63 | 52 | ||
README.md | D | 22-Nov-2023 | 867 | 17 | 9 | |
index.html | D | 22-Nov-2023 | 688 | 26 | 24 | |
main.js | D | 22-Nov-2023 | 2.4 KiB | 105 | 82 | |
manifest.json | D | 22-Nov-2023 | 445 | 22 | 21 | |
sample_support_metadata.json | D | 22-Nov-2023 | 58 | 5 | 4 | |
server.js | D | 22-Nov-2023 | 1.7 KiB | 61 | 48 | |
tcp-server.js | D | 22-Nov-2023 | 11.3 KiB | 390 | 191 |
README.md
1<a target="_blank" href="https://chrome.google.com/webstore/detail/ahlcocbkjpjkobcdpjcobmibmpbeecpg">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-app-samples/master/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a> 2 3 4# Chrome Commando TCP server 5 6This is a sample that shows how you can run a network TCP server in a packaged app. This sample allows you to start a server in an arbitrary address and port. Telnet to the listening port and you will be able to remotely control your browser by sending some commands such as `open` and `echo`. 7 8## APIs 9 10* [Sockets](https://developer.chrome.com/apps/sockets_tcp) 11* [Runtime](https://developer.chrome.com/apps/app_runtime) 12* [Window](https://developer.chrome.com/apps/app_window) 13 14## Screenshot 15![screenshot](/samples/tcpserver/assets/screenshot_1280_800.png) 16 17