I want to create an app for multiple clients chatting via WiFi direct.
The key feature I don't know how to do - when owner of a group disconnects, app should transparently for the user create a new group with a new owner and let all clients continue chatting.
I searched the web for the answer, but found only answers like this one. And now I comletely understand what I need to do, but absolutely not sure how to do it properly.
So, looking for a complete solution. Are there any tutorials (or, better, special libs for that?) that describe how to do it properly?