Hacker News new | ask | show | jobs
by Aeolun 376 days ago
How would Facebook do that? They scan all likely local ranges for what could be your phone, and have a web server running on the phone? That seems more like a problem of allowing the phone app to start something like that and keep it running in the background.
1 comments

Webrtc allows you to find the local ranges.

Typically there are only 256 IP's, so a scan of them all is almost instant.