Professional Documents
Culture Documents
TCP
Transmission Control Protocol
UDP
User Datagram Protocol or Universal Datagram Protocol UDP is connection less. No acknowledgement UDP is used for games or applications that require fast transmission of data. UDP's stateless nature is also useful for servers that answer small queries from huge numbers of clients. DNS, DHCP, TFTP, SNMP, RIP etc... No sequencing
TCP is connection oriented. Acknowledge segments TCP is used in case of nontime critical applications.
Examples: Ordering of data packets: Speed of transfer: Reliability: Header Size: Data Flow Control:
The speed for TCP is slower than UDP. Reliable TCP header size is 20 bytes TCP does Flow Control.
UDP is faster.
Unreliable UDP Header size is 8 bytes. UDP does not have an option for flow control