Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the different between TCP and UDP?

Answer Posted / s.srikanth

In UDP, as you have read above, every time you send a
datagram, you have to send the local descriptor and the
socket address of the receiving socket along with it. Since
TCP is a connection-oriented protocol, on the other hand, a
connection must be established before communications
between the pair of sockets start. So there is a connection
setup time in TCP. UDP is an unreliable protocol -- there
is no guarantee that the datagrams you have sent will be
received in the same order by the receiving socket. On the
other hand, TCP is a reliable protocol; it is guaranteed
that the packets you send will be received in the order in
which they were sent.

In short, TCP is useful for implementing network services --
such as remote login (rlogin, telnet) and file transfer
(FTP) -- which require data of indefinite length to be
transferred. UDP is less complex and incurs fewer
overheads. It is often used in implementing client/server
applications in distributed systems built over local area
networks.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of routing protocol?

1055


Hey friends, i want to do a telecom protocol development course in Pune. plz mention some good instituition.what is its scope.plz help me out.course(MAC,RLC,RRC,VOIP,3G,GSM, ss7, SIP)

2401


Explain which layer is closer to the user?

975


How to define ip address?

1011


Please inform me about the openings of networking field at Kolkata.Is there any interview recently?

2358


Why is port 139 open?

937


Explain how do applications coexist over tcp and udp?

1046


What is codec ? What is the use of that?

979


How do I find out what service is using a port?

1019


What is difference between tcp and ip?

986


Explain how does arp response the request?

999


What happens when multiple applications open multiple tcp connections?

1094


Explain what is subneting?

1045


Is youtube a tcp or udp?

940


What is tcp socket programming?

974