P2P using a web browser

I was told that some torrent sites, such as BITLET or MININOVA, allow you to download from other users and, obviously, other users that will be downloaded from you while you open the browser.

I would like to create something similar for a game where: 1. User A and B are connected to a specific website 2. User A knows IP and port B 3. User A starts downloading some information from user B

Can someone give me some tips or keywords to get started?

Thanks!

+1
source share
1 answer

Your game should be written as a browser plugin, as browsers do not support such things. It looks like BITLET is using java, which will work, or FLASH 10 also supports socket connections, so this will be a different alternative. You probably want to have a central server to keep track of which different access points are available. Each client can connect to the server, get a list of clients, and then create connections to the TCP port for each client to which it wants to connect. Then each client could additionally tell each other about other clients, etc.

+3
source

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


All Articles