UDP is alot faster than TCP. So if its realtime obviously it has to be fast, thus UDP. The only problem is UDP isn't as reliable or as secure as TCP. But it does have the speed advantage.
UDP does not require as much resources as TCP but in the same time, it does not insure delivery of packets.
UDP
tftp
TELNET operates at Application Layer in TCP/IP Model. It's an Application to establish a connection to TCP Port Number 23, where a Telnet server application (telnetd) is listening.
UDP
2^16 bytes - size of TCP header
The Application layer The Presentation layer The Session layer
Why_an_application_developer_might_choose_to_run_an_application_over_UDP_rather_than_TCP"send me
In the commonly used TCP/IP communications, that would either be a TCP header, or a UDP header.In the commonly used TCP/IP communications, that would either be a TCP header, or a UDP header.In the commonly used TCP/IP communications, that would either be a TCP header, or a UDP header.In the commonly used TCP/IP communications, that would either be a TCP header, or a UDP header.
UDP: DNS, TFTP, DHCP... TCP: SMTP, HTTP, HTTPS, DNS, FTP, SHH, Telnet...
Application Layer
What a client application usually selects for a TCP or UDP source port number is a random value. The value selected is generally in the range of the registered ports.