I have an acquaintance who is working on P2P communication. I haven’t studied the project, or even had the chance to really talk about it with him in depth, without somebody else at the table bringing up fish or forest fires. In any case, here is a Github link to the code. Please let me know if it looks interesting.