Results 1 - 9 of 9

WebSockets

WebSockets is an advanced technology that makes it possible to open an interactive communication session between the user's browser and a server. With this API, you can send messages to a server and receive event-driven responses without having to poll the server for a reply.
References WebSockets

WebSocket

The WebSocket object provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection.
API WebSocket WebSockets

Writing WebSocket client applications

WebSockets is a technology, based on the ws protocol, that makes it possible to establish a continuous full-duplex connection stream between a client and a server.  A typical websocket client would be a user's browser, but the protocol is platform independent. 
Guide WebSocket WebSockets

Writing a WebSocket server in C#

If you would like to use the WebSocket API, it is useful if you have a server. In this article I will show you how to write one in C#. You can do it in any server-side language, but to keep things simple and more understandable, I chose Microsoft's language.
HTML5 NeedsMarkupWork Tutorial WebSockets

Writing a WebSocket server in Java

This example shows you how to create a WebSocket API server using Oracle Java.

Although other server-side languages can be used to create a WebSocker server, this example uses Oracle Java to simplify the example code.
Handshaking HTML5 NeedsMarkupWork Tutorial WebSockets

CloseEvent

A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute.
API Interface Reference Web WebSocket WebSockets

MessageEvent

A MessageEvent is the interface representing a message received by a target, being a WebSocket or a WebRTC RTCDataChannel
API Interface NeedsSpecTable Reference WebRTC Websockets API

Writing WebSocket servers

A WebSocket server is a TCP application listening on any port of a server that follows a specific protocol, simple as that. The task of creating a custom server tends to scare people; however, it can be easy to implement a simple WebSocket server on your platform of choice.
Guide HTML5 NeedsContent NeedsExample Tutorial WebSocket WebSockets

StringView

As web applications become more and more powerful, adding features such as audio and video manipulation, access to raw data using WebSockets, and so forth, it has become clear that there are times when it would be helpful for JavaScript code to be able to quickly and easily manipulate raw binary data. In the past, this had to be simulated by treating the raw data as a string and using the charCodeAt() method to read the bytes from the data buffer.
Code snippet Guide JavaScript JavaScript typed arrays js-ctypes MDN JavaScript Libraries Sample code Typed Arrays WebGL WebSockets