• Home
Name Date Size #Lines LOC

..--

assets/03-May-2024-

commands/03-May-2024-9358

styles/03-May-2024-6352

README.mdD03-May-2024867 179

index.htmlD03-May-2024688 2624

main.jsD03-May-20242.4 KiB10582

manifest.jsonD03-May-2024445 2221

sample_support_metadata.jsonD03-May-202458 54

server.jsD03-May-20241.7 KiB6148

tcp-server.jsD03-May-202411.3 KiB390191

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