title: Modbus TCP communication from HTML/Javascript Webpage
body: <p>I have a device that uses Modbus TCP.  I want to read data from it and display it on a webpage (Without an in between server).</p>
  
  <p>I have found a project that does almost this exact same thing as a Chrome extension:</p>
  
  <p><a href="https://github.com/Cloud-Automation/chrome-modbus" rel="noreferrer">https://github.com/Cloud-Automation/chrome-modbus</a></p>
  
  <p>It uses this in the javascript code: chrome.sockets.tcp</p>
  
  <p>I was hoping that I could do the same thing on my webpage using WebSockets.</p>
  
  <p>It seems that websockets would work on my webpage (acting as the client), sending and receiving information from the device (acting as the server).  It doesn't seem that websockets is affected by cors.</p>
  
  <p>Does anybody have pointers on where I could start on this? (Or a javascript library would be great)</p>
  
  <p>Is this possible?</p>