Is it possible to communicate between two different apps using Peer-to-peer?
Peer-to-peer communication
It is possible, but the connection time might be very long if the 2 peers are not on the same network. If both are on the same network (LAN), then the connection time is fast and the communication protocol is simpler (e.g. SIP protocol is essentially a peer to peer protocol and VoIP applications can be implemented using for example PJSUA.). When the peers are in different networks (e.g. both are in different LANs behind firewalls with access to Internet) a possible solution is to use BitTorrent Bleep