Android WiFiDirectDemo p2p connection working as server-client

402 Views Asked by At

I test WiFiDirectDemo that is available as Android example, it works as it should. Now this app work as Server-Client. What I want is to work as p2p. Both devices should be able to receive and send data. I don't know how to achieve communication in both ways?

Any direction in the right way would be much appreciated.

1

There are 1 best solutions below

0
On BEST ANSWER

It seems that both devices serves as client and server. And sending messages between is simple, Developer should just implement system for checking and acknowledgment.