First, load the plugin:
var sockit = loadSockitPlugin();Create a new client to connection
var client = sockit.createTcpClient("www.google.com", 80);Now, we register our client to alert us when it receives a response and send a GET request across the wire:
Installing this extension would give any web-page the permissions to make arbitrary TCP/UDP connections from your machine. Treat this as an experimental tool.
The plugin is currently packaged for Chrome and Firefox on Windows, Linux. and Mac OSX. To install the plugin, visit the downloads page.
To learn about everything that the plugin can do, see the API documentation.