WhatsApp will use that connection to send them your messages. If your friend had their app open or at least the app process running then there might be a live connection to the server. The server in return would dispatch them to your friends' devices. It could then use a custom TCP protocol or maybe HTTP to communicate your messages to the server. Instead, your device connects to their server. So it wouldn't open a connection (from your device) to each of your friends' devices. WhatsApp or most of the other messaging apps rarely work on a peer-to-peer basis. What happens if that recognizing key or mac address is the same in two different devices with two different IP addresses? Can the server understand it? Will one of them took the message or both? But after this how does WhatsApp recognizing me? From my mac address? Or from any other special key? How is WhatsApp speaking with the server? What is WhatsApp's XMPP server IP? What type of format using that app when communicating with the server? And why nobody can use it directly on pc? If WhatsApp is a communication software it means I can communicate with the server from any device or any os right? But I couldn't found any example about it.Īnd finally, after I signed up on WhatsApp with my phone number for the first time it sends me an SMS and does verification. I just wanna understand how WhatsApp works? It's using XMPP and just a code to communicate with the server. I started to learn more about internet protocols and other internet applications. I am currently learning about web programming.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |