2 ms·
Simply by grouping clients into rooms by their public IP. > You can be discovered by everyone on this network Assumption here being that the devices on the sa
by ntpl 6y ago
Simply by grouping clients into rooms by their public IP.
> You can be discovered by everyone on this network
Assumption here being that the devices on the same network are all NAT'd behind the same public IP, which usually holds true.
See the server code for designating rooms & peers:
https://github.com/RobinLinus/snapdrop/blob/master/server/index.js#L80-L108 https://github.com/RobinLinus/snapdrop/blob/master/server/in...
Can also test that there is no "discovery" beyond public IP grouping by turning off wifi on your mobile and joining from mobile network.