what is the different between TCP and UDP?

Answers were Sorted based on User's Feedback



what is the different between TCP and UDP?..

Answer / sophia

TCP (transmission control protocol)-connection oriented
protocol,slow,needs acknowlegement (ie reliable),needs no
reordering of packets.
UDP-fast('coz needs no
acknowlegement),connectionless,unreliable ,needs reordering
of packets

Is This Answer Correct ?    14 Yes 1 No

what is the different between TCP and UDP?..

Answer / m.kumararaja

TCP
Connection oriented protocol
Acknowledged one
Reliable
Point to point communication
slow
More traffic
Ex:- Telepbonic communication,

UDP

Connection less protocol
No Acknowledged
UnReliable
Point to Multiple point communication
Fast
less traffic
Ex:- Post letter communication,

Is This Answer Correct ?    10 Yes 1 No

what is the different between TCP and UDP?..

Answer / rajarr

TCP is a connection oriented protocol, which means that
everytime a packet is sent say from host A to B, we will get
an acknowledgement.
UDP on the other hand, is a connection less protocol.

TCP -> Say you have a file transfer and you need to ensure
that the file reaches intact, and time is not a factor, in
such a case we can use TCP.

UDP-> Media Streaming, question is say you are watching a
movie?would you prefer that your movie comes..perfectly?.but
u need to wait a long time before you see the next frame
?..or would you prefer the movie to keep streaming?Yes?The
second option is definely better?.This is when we need UDP

Is This Answer Correct ?    6 Yes 0 No

what is the different between TCP and UDP?..

Answer / gattu sai krishna

TCP : Transmission control protocol
It is reliable connection
(reliable means sure)
It has acknowledgment
( when the packet is sent. it will get confirmation that
packet has sent successfully to destination )
Tcp port no is 7
TCP has low communication
TCP services are secure and reliable
TCP has heavy traffic
example for TCP are : Http,Ftp,Tftp,etc...
It controls the error correction



UDP: Userdatagram protcol


UDP is a non reliable connection
no acknowledgment reqired
UDP port no is 17
UDP does not contains error correction
UDP is non- reliable
UDP has High communication
UDP has less traffic
Examples of UDP are dns, dhcp,etc....

Is This Answer Correct ?    3 Yes 1 No

what is the different between TCP and UDP?..

Answer / 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

More TCP IP Interview Questions

What is tcp ip layers?

0 Answers  


What port can I use instead of 8080?

0 Answers  


What is an advantage of a hierarchical name space over a flat name space for a system the size of the Internet? Internet?

1 Answers   ABC, Cisco,


Can port forwarding mess up internet?

0 Answers  


How do I find my static ip address to open?

0 Answers  


what are the Classes of IP Address

0 Answers   HCL,


What is p and v in semaphore?

0 Answers  


What are the two types of semaphore?

0 Answers  


What is the protocol used in Network layer?

0 Answers   Deshaw,


How to instal two operarting system in one pc?

5 Answers   Fidelity,


Can ip addresses be shared?

0 Answers  


Does DNS use TCP or UDP or both?

12 Answers   Yahoo,


Categories