We have created a webserver on port
3001. Now it is time to turn an external LED on and off using a HTML page remotely. Just by changing variable
socket.io library for this. This library allows real-time, full-duplex, communication by sending and receiving events. Let's install it by running the following command in the BeagleBone shell.
sudo npm install –g socket.io
socket.io is available here: ...