What is the difference between UDP and TCP protocols?

OpenVPN can run over either the TCP (Transmission Control Protocol) or UDP (User Datagram Protocol) transports.

Choosing which one to use is a highly technical issue, and one that most VPN providers (quite understandably) keep hidden ‘behind the scenes’.

Some VPN providers, however, prefer to let customers choose which connection protocol they prefer. The reason for this is that while both offer distinct advantages and disadvantages in each other, choosing which is ‘best is’ difficult, as it depends what the internet is being used for, and what matters to individuals most – speed or reliability.

The Difference TCP vs UDP, OpenVPN vs TCP, UDP vs OpenVPN… What is the difference, exactly?

TCP is, in general, the most commonly used connection protocol on the internet, as it offers error correction (and is therefore known as a ‘stateful protocol’). Whenever a computer sends a network packet using TCP, it waits for confirmation that the packet has arrived before resending the packet (if no confirmation is received), or sending the next packet (if confirmation is received). This means there is ‘guaranteed delivery’ of all data, making the protocol very reliable, but there is a considerable overhead as packets are sent, confirmed, re-sent etc., making it quite slow. UDP is referred to as a ‘stateless protocol’ as it performs no such error correction, simply receiving packets with no or retries.

This makes it much faster, but less reliable.

TCP = reliable (stable for low speed connections or if being throttled)

UDP = fast (usually higher speeds and preferred choice)

Which one to use?

Which one you use, therefore, depends on whether reliability or speed is your primary concern, and, in general, UDP is better for streaming VoIP, and playing games online. However, how much TCP actually slows a connection down in practice can be very dependent on other network factors, with distance being the most important.

The further away you are from your VPN server geographically, the further TCP packets have to travel to and fro, and therefore the slower your connection will be. If the server is relatively close-by, then you may not see much of a speed loss, while benefiting from a more reliable connection.

That said, probably the best general advice is to use the faster UDP protocol unless you experience connection problems, which is the strategy adopted by most VPN providers by default.

  • 1 Users Found This Useful
這篇文章有幫助嗎?

相關文章

Geo Restrictions

One of the main reasons users rely on VPN's? They want to get around geo-restrictions. These...

What is a kill switch?

What happens if a VPN provider’s network connection fails? Your computer or mobile device will...

How can a VPN protect you from identity theft?

Identity theft occurs when thieves steal your personal information and use it to commit crimes in...

How to find the best server?

Recently we have released V2 version of our Android, Amazon & Windows Applications Android...

What do I need to do to my Router?

Aside from running a VPN, your ISP always has security settings, for example, an Amazon Firestick...