Socket Example
BGSocketDemo Application
A socket demo running in background
Attention: Need to enable 'NaCl Socket API' flag on flags page 'about:flags'
Read more
Attention: Need to enable 'NaCl Socket API' flag on flags page 'about:flags'
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "BGSocketDemo", "version": "0.1", "manifest_version": 2, "description": "socket Example", "offline_enabled": true, "icons": { "128": "icon128.png" }, "app": { "background": { "page": "index.html" } }, "permissions": [ "background", { "socket": [ "tcp-listen:*:*", "tcp-connect", "resolve-host", "udp-bind:*:*", "udp-send-to:*:*" ] }]}
Read more