This program communicates with the serialport using the socket.io.