1.0.0 • Published 9 years ago

wschat v1.0.0

Weekly downloads
1
License
ISC
Repository
-
Last release
9 years ago

Basic Websockets Multi-User Chat

Connect multiple clients in the browser and/or in the terminal to one chat server.

install

git clone https://github.com/sean-west/wschat.git
cd wschat
npm install

server

This will listen on port 3000 by default

node server.js

client

This will connect to localhost on 3000 by default.

node

You can pass as an argument an ip address or hostname to connect to a remote chat server.

node client_node.js [hostname]

browser

Change the ip variable to a remote server ip address to connect to that chat server

open client_browser.html