JsVar provides compact and lightweight web and websocket servers. When a browser connects to JsVar a websocket connection is open and can be used for bidirectional communication between C code running on the server side and Javascript code running on the client (browser) side. Data are transmitted to javascript immediately after having been sent (PUSH method).