I'm working on a project that involves communicating with different devices as they come in and out of range. There isn't necessarily a host as any two devices that come close together should be able to communicate. (Sender and receiver pair isn't necessarily the same nor a pair - it could be a triple).

I'm looking for a library to handle sender & receiver communication that doesn't require being over the same network.

Ideally I'm looking for a library in c++ (or Python) that can listen for any communication within wifi range and respond such messages.

Any such library should be able to work at least on Linux.

  • "communication that doesn't require being over the same network" confuses me – Mawg says reinstate Monica Oct 7 '19 at 14:30
  • 1
    Let's say I had a raspberry pi. Somebody running some code should be able to connect with me without having to connect first to the wifi the pi is connected to. The only ip that is known is the raspberry pi's. Ideally the pi's ip wouldn't have to be known either. – Pop Nov 9 '19 at 15:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.