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

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...

Linear Regression in Power BI

Linear Regression is Predictive model used for finding the linear relationship between a dependent and one or more independent variables. In regression the dependent variable has to be continuous numerical (not categorical like Green, Yellow etc). In Simple linear regression, we have one independent variable and one dependent variable. It is also known as Univariate linear regression, as there is only one independent variable. In Multiple linear regressions, we have more than one independent variable and one dependent variable. It is also known as multivariate linear regression, as there is more than one independent variable. Now our goal is to predict the home price by using the Simple Linear Regression. (Name of the above table is SimpleLinearRegression ) In this table we have the prices of home based on the Area of that home. Here we have to predict the Price based on the given Area. As we are predicting the price based on the area. So, Price is the dependent variable and ...

What is SMTP ?

 SMTP  -SMTP stands for simple mail transfer   protocol. -SMTP is an application layer protocol. -The transfer protocol of SMTP is TCP(Transmission control protocol)    because TCP is a reliable and connection Oriented protocol.TCP gurantees e-mail delivery . -It uses TCP port 25. -A few webmail services like G-mail use   unofficial port 465 for SMTP. -SMTP requires each message in 7-bit   ASCII(American Standard Code for   Information Interchange ) format. -SMTP is used by the client to send mail to servers because SMTP is a push protocol.It is used to send mail from sender to senders mail server and it is also used to send mail to receivers mail server from senders mail server . - Recepient download the mail from the mail server using POP3 or, IMAP .They can also just view the mail on the server by using webmail. Some SMTP commands:  •HELO and EHLO:- Command that initiate a new protocol session...