what mechanisms used by Whatsapp and Viber for Chatting and messaging

Solutions Collect From Internet About “what mechanisms used by Whatsapp and Viber for Chatting and messaging”

Whatsapp uses a custom XMPP server, Viber uses their own SIP voip server.

There are some opensource libraries for XMPP.