An example that use wifidirect discovery to implement a chat application