Same as ledStatus.beaglebone but uses sockets instead of http requests.  This was my first project using sockets.