4
It is possible to send data to a port (e.g.: 5151) via TCP or UDP from a site, on the front end, using Javascript for example.
I’ve been searching for a while and the closest I’ve come so far is creating a Chrome app using the API sockets however, I had two problems with this.
1º to use the API sockets needs to be an App instead of an extension, so it needs to run, which is impractical for the end user.
2nd is that I could not send any kind of information to him from the page, nothing, not even a "hello world".
Did the answer solve your question? Do you think you can accept it? See [tour] if you don’t know how you do it. This would help a lot to indicate that the solution was useful to you. You can also vote on any question or answer you find useful on the entire site
– Maniero