Is WhatsApp a TCP or UDP?

WhatsApp is a popular messaging app used by millions of people worldwide. It’s a free, easy-to-use app that allows users to send messages, photos, videos and audio recordings over the Internet. While most people use WhatsApp for its convenience, there is also a technical side to the app.

Specifically, many people want to know if WhatsApp uses TCP or UDP.

The answer to this question is not straightforward, as it depends on the type of message being sent and the device being used. For instance, text messages are sent using TCP (Transmission Control Protocol), while audio and video messages are sent using UDP (User Datagram Protocol).

In addition, some versions of WhatsApp use the Secure Real-time Transport Protocol (SRTP) for audio and video calls. SRTP uses both TCP and UDP depending on the type of data being transmitted. For example, if there is an interruption in the connection during an audio or video call, SRTP will switch from UDP to TCP in order to ensure that the data is still delivered.

In conclusion, whether WhatsApp uses TCP or UDP depends on the type of message being sent and the device being used. Text messages are sent using TCP while audio and video messages are sent using UDP. In some cases, SRTP may be used which utilises both TCP and UDP depending on the data being transmitted.