Skip to content

yuraji/node-websocket-pointer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Node-based Websockets example: pointer

Book session on Codementor        BitCoin donate button Donate with Gratipay

This server js file and index.html are an example for WebSockets.

Click or tap screen and it will update all screens that opened this page

How to:

install Node.js

install Socket.io:

npm install socket.io

run

node server.js

visit

http://localhost:1337/index.html

or whatever domain you've set up - be sure to update index.html then:

var socket = io.connect('http://localhost:1337');

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published