Listening to TCP Connections through a Browser

Is there any method that I could use to launch something from a browser that will listen to tcp connections? I researched Silverlight, but it looks like I can connect to third parties using the Silverlight application. I am looking for a user to run something in a browser that could receive third-party connections. I'm starting to think that he has a lot of opportunities for abuse, so this is not allowed, but I hope that I missed something.

+3
source share
4 answers

In general, a popular approach for simulating a browser listening on connections is to listen to them on the server, and then use comet , a lengthy poll , AJAX reverse, or a similar method of pushing messages from the server to the browser.

Thus, you remain within all the rules and restrictions, and you will do what has been verified and verified for a long time. It even works through firewalls, since technically it is still the browser initiating the connection to the server.

Obviously, this is not the same as listing TCP connections, but it may be an option for you.

+2
source

, , , Java- . , ( "" ), TCP-.

.

( , , , )

+1

, - Flash XML Sockets.

, TCP, .

0

Source: https://habr.com/ru/post/1728547/


All Articles