Shortest example of WebSocket

@HIROSE Yuuji HIROSE Yuuji authored on 25 Oct 2022
otp Typo 1 year ago
.gitignore Ignore files updated 1 year ago
.hgignore Ignore files updated 1 year ago
README.md The number of browser window can be more than 2 1 year ago
ews.html Replaced to new example 1 year ago
ews.js Replaced to new example 1 year ago
ews.rb Add:how to run 1 year ago
screen.jpg Add:how to run 1 year ago
README.md

WebSocketSample

Shortest example of WebSocket

How to run

  1. Start ews.rb by "./ews.rb"
  2. Start browser and create 2 or more windows (C-n)
  3. Browser-1: Open-File -> ews.html
  4. Browser-2: Open-File -> ews.html
  5. Write comment in a form and PUSH!