![](/static/undefined/assets/icons/icon-96x96.png)
![](https://lemmy.ml/pictrs/image/a64z2tlDDD.png)
What you are looking for is local peer-to-peer file sharing. When I was studying, we used eMule, but that is for Windows and old. I don’t have a concrete software suggestion, but looking around the gnutella protocol could be promising.
Edit: QuantumCogs suggestion is also good, the use cases are slightly different.
https://proton.me/pass