Run this program by navigating to the directory and typing node hello.js in terminal. (Node.js must be installed)
To connect to the server, open another terminal window and type curl 127.0.0.1:3000/. Any connected clients will have 'Hello World!\n' written to their console.
Run this program by navigating to the directory and typing node chatter.js in terminal. (Node.js must be installed)
To connect to the server, open another terminal window and type telnet 127.0.0.1 3000. Any connected clients can message each other via typing in their relevant terminal windows and pressing enter to send the message to everyone.
To close any clients, press Ctrl+] and type close in the relevant window.