Proper way to listen as TCP server in Chrome extension
I want to create a TCP server and listen on it. I need access to the tab content, so I need a chrome extension. Sadly, only chrome apps can create TCP servers. Is it a valid/good concept to create a TCP server in a chrome app and let the app communicate with an extension (is this even possible?)? If not, what would be my alternatives? The only idea I have is to change from server model to client model and let the extension connect to an external server. This solution would be poor in my situation, so I try to avoid it as best as I can. What I want to achieve is that I can build a chrome