Skip to main content

Differences between TCP and UDP

TCP vs. UDP 
-TCP stands for transmission control   protocol whereas UDP stands for user   datagram protocol.
-Tcp is a reliable and connection-oriented   Transport protocol whereas UDP is a less   reliable and connection-less protocol.
-In tcp , Error control is   mandatory.because checksum is used at   the end of the TCP to detect errors   whereas error control is optional in case   of UDP .
-TCP is comparatively slower than UDP.
-The header size of TCP is 20-60 bytes   whereas header size of UDP is 8 bytes .
-TCP doesn't supports broadcasting   whereas UDP supports broadcasting .
-TCP is used by SMTP,FTP,HTTP,HTTPs   etc, whereas UDP is used by DHCP,DNS etc .

Comments

Popular posts from this blog

What is FTP ?

  FTP -FTP stands for file transfer protocol. -The Transport protocol of FTP is TCP     because it requires reliability. -The port number of FTP is 20/21.Port 20   performs the task of forwarding and   transferring of data and port 21 performs   the task of transmitting of commands. -It is a standard internet protocol provided   by TCP/IP for transmitting the file(which     may contain any kind of digital   information,such as text document,   movie ,image etc.) from one device to   another. -It is mainly used for transferring the web   page files from their creater to the   computer that acts as a server for other   computer on internet and it is also used   for downloading the files to computer   from other servers. -The main competitor for FTP is Http and   now sites runs Http servers instead of   FT...

HTTP

   HTTP:- -Http stands for hypertext transfer   protocol. -It is an application layer protocol. -The http is a set of rules for exchanging  files(text, graphics,video, record,images  and other multimedia files) on the   Www(world wide web). -It is an access method to access web   pages used on the internet . -Http is a part of protocol framework   called the internet protocol suite ,which   includes TCP/IP . -Http uses port number 80. Components of Http based system:- Http is a client server protocol , requests are send by one entity,the web user agent.Most of the time the user agent is a web browser. Generally 3 components are in http based based system.Like client, server and proxy . Client and server:- A server is a computing program or device that accepts and responds to requests made over a network.The device the sends request to the server and get response from the s...

MAC Address

MAC stands for media access control. MAC address is also known as physical address or hardware address or BIA(burnt-in-address).BIA is generally written in Cisco router switches.physical address is generally written in laptop/pc.MAC address is generally written in Mobile. MAC address is globally unic.The MAC address of a device is different from other devices.Many people are thinking there is only one mac address of a device but it is actually wrong ,Because there is no mac address of a laptop .There is a Mac address of your NIC(network interface controller) ,which is connected to your laptop .                                (NIC) If you change your NIC,then the Mac address of your laptop will be changed.NIC is a separate hardware component present in your computer used to connect with the network (home network or internet).There are so many ways that you can connect your laptop with the network like...