Skip to content

Enable websockets with Node.js to create a simple chat room.

Notifications You must be signed in to change notification settings

orangeable/nodejs-websocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Node.js WebSocket

Enable websockets with Node.js to create a simple chat room.

Prerequisites:

You must install the "websocket" package first:

npm install websocket

Start the websocket server:

node app

Note: You can replace port 9600 with any available port on your system.

For the client-side JavaScript portion:

JavaScript chat room

About

Enable websockets with Node.js to create a simple chat room.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published