Node.JS realtime IPv6-enabled chat app for Advanced Networks using SocketIO
Installation:
-
Install node.js
-
git clone this repo.
-
fire up a terminal, enter "cd curly-octo-woof"
-
enter command "npm install" on terminal to install the dependencies.
-
type "node index" on the terminal now.
-
This opens a server running on "http://[::]:8080" and has options to use ipv6 and ipv4.
-
Use ipconfig to locate your ipv6 and ipv4 address, and ask your buddy to open "http://
:8080" in his browser.
-
Open multiple tabs in your favorite browser, and enjoy chatting. You get a cool name, when you start! :P
-
Currently clients using an ipv6 address, arent able to send a message. But there presence is felt by broadcasting a "is here! :)" and "went away! :(" message in ipv4 clients' window. I don't know why this is happening. Reported the bug to Socket.IO
I have also deployed a running version here. But i dont know why heroku is blocking websockets as well as xhr-polling (every 10s) :/.