Re:Free and Open Source Alternative to Airdrop
by codethief on Sunday January 21, 2024 @11:40AM
(#39080019)
How does localsend work exactly? I've read both their website and Github README as well as part of their protocol docs but I still have no idea. How does the initial device discovery work? For file transfer does it use the local wifi, some external server, …?
[ Parent
| on HN ]
Re:Free and Open Source Alternative to Airdrop
by nsagent on Sunday January 21, 2024 @12:00PM
(#39080207)
It looks like they implement something similar to Bonjour [1] using multicast DNS [2]. Not sure if it's basically a reimplementation like Avahi [3] or if it's a slightly different protocol (only skimmed the code [4] briefly).
[1]: https://en.m.wikipedia.org/wiki/Bonjour_(software)
[2]: https://en.m.wikipedia.org/wiki/Multicast_DNS
[3]: https://en.m.wikipedia.org/wiki/Avahi_(software)
[4]: https://github.com/localsend/localsend/tree/main/app/lib/pro...