#๐Ÿ”’ Peer to Peer app discover other device

4 messages ยท Page 1 of 1 (latest)

frozen patio
#

I am trying to make a simple peer to peer app (can be used to send simple messages or files) and the issue I am facing so far is that each peer cannot find each other (Discover each others Public IP and port to communicate with). I know I need a signalling server to do this but I can't find out one that does not need an API key or an account login. The app is inteneded for anyone to pick up and use without issues. I don't want to host the signalling server myself for my app as then I can't gaurantee that it will be avaible when its needed. I don't want the user to have to make one themselves. I have tried a DHT server and had no luck connecting to them for some reason. So I am out of ideas for how each peer can find the other peer. I intend for it to be that each peers goes to a DHT/signalling server and looks for the other peer's ID or a shared seceret and then when the see each other they then share their IP and port with each other.

Sorry for the long post, I have just wasted a few days on this with 0 luck so far

next surgeBOT
#

@frozen patio

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

next surgeBOT
#

@frozen patio

Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.