Skip to content
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.

Latest commit

 

History

History

basics

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

WebSockets 101

A simple example of using WebSockets for communication.

You can learn about the basics of WebSockets by reading the Introducing WebSockets: Bringing Sockets to the Web article on HTML5Rocks.

WebSocket is a protocol providing full-duplex communications channels over a single TCP connection.

This example opens a WebSocket connection to an echo server (ws://echo/websocket.org), sends data to the server, and then displays the response on the web page.

Please report any bugs or feature requests.