Raw Socket API SHIM
Raw Socket API SHIM for Chrome Packaged Apps and Mozilla Open Web Apps (Firefox OS).
- TCP client sockets only
- UDP client sockets in chrome only
- Binary data only
sawrocket.js to your project and start using
If you need to convert to strings, copy
utf8.js and use
strToUTF8Arr. They've been stolen from the
Mozilla Developer Docs.
A sample netcat demo app is included. Use:
manifest.webappfor Firefox OS