SockIt

SockIt Documentation

Introduction

SockIt is an NPAPI plugin that allows Javascript to perform asynchronous, low-level networking functions. Our API allows web developers to create servers and clients which perform asynchronous network I/O by using Javascript events to perform callbacks. The API provides access to both TCP and UDP protocols, as well as basic concurrency control for tweaking performance.

Installation

Our plugin is currently packaged for 64-bit Chrome and Firefox on both Windows and Linux. To install our plugin, visit our downloads page.

Features

Our plugin allows creation of TCP and UDP clients and servers, exposes a basic API for controlling each, and allows developers to perform asynchronous I/O with this clients and servers using Javascript event callbacks. Likewise, our API allows some concurrency control to improve performance, provides hooks to handle additional events such as errors, connection, disconnection, and asynchronously logs errors on the client machine for debugging.

Tutorial

To see a quick example of our plugin, see our quick tutorial or our full tutorial.

To learn about everything that our plugin can do, see our API documentation.

Installation

To get familiar with our code, browse this full source documentation.

The build process is automated on both Windows and Linux, but has several dependencies. For full instructions on installation can be found here.

 All Classes Files Functions Variables Typedefs Friends Defines