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 POP3 and IMAP ? Difference between POP3 and IMAP.

POP3:- -POP3 stands for post office protocol   version 3. -It is a simple protocol with limited   functionality which is used for opening   remote e-mail boxes. -It is a pull protocol. -It is an application layer protocol. -A POP3 sever stores message for each   user until the user logs in using e-mail   client and downloads the message to   their  computer.Once the the message is   downloaded ,it(message) is deleted from   the server. -In POP3,you can access mail from a   single device.once you have downloaded   the mail to your desktop after it you can't   download the same message to your   laptop because the mail had deleted after   first download. -The transfer protocol of POP3 is   TCP(Transmission control protocol).Post   office protocol version 3 uses TCP for   communication and It uses T...

Difference between Hub and Switch

Hub is a networking device which operates on physical layer of the OSI(open system interconnection) model whereas switch is also a networking device but it operates on data link layer of the OSI model .Hub is purely hardware  but switch is a device which is the combination of both software and hardware.Hub supports broadcast transmission whereas switch supports Unicast, multicast and broardcast transmission .Hub is having single collision domain whereas Every port of Switch is separate collision domain.Transmission mode of hub is half-duplex whereas transmission mode of switch is full-duplex.Hub can do only forwarding whereas Switch can be able to do both forwarding and filtering.Hub can't store MAC (media access control) address where as switch stores MAC address.

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