difference between Tcp and udp

Answers were Sorted based on User's Feedback



difference between Tcp and udp ..

Answer / neeraj suriyal network adminis

tcp is connection oriented protocol of the transport layer
of osi model,
udp is connectionless protocol of the transport layer of the
osi model
tcp is reliable
udp is nonreliable
tcp uses three way handshake to establish ,connection to
other host
no such three way handshake taken by udp

Is This Answer Correct ?    25 Yes 2 No

difference between Tcp and udp ..

Answer / rajn

TCP(Transmission Control Protocol). TCP is a connection-
oriented protocol, a connection can be made from client to
server, and from then on any data can be sent along that
connection.

Reliable - when you send a message along a TCP socket, you
know it will get there unless the connection fails
completely. If it gets lost along the way, the server will
re-request the lost part. This means complete integrity,
things don't get corrupted.

Ordered - if you send two messages along a connection, one
after the other, you know the first message will get there
first. You don't have to worry about data arriving in the
wrong order.

Heavyweight - when the low level parts of the TCP "stream"
arrive in the wrong order, resend requests have to be sent,
and all the out of sequence parts have to be put back
together, so requires a bit of work to piece together.


UDP(User Datagram Protocol). A simpler message-based
connectionless protocol. With UDP you send messages
(packets) across the network in chunks.

Unreliable - When you send a message, you don't know if
it'll get there, it could get lost on the way.
Not ordered - If you send two messages out, you don't know
what order they'll arrive in.

Lightweight - No ordering of messages, no tracking
connections, etc. It's just fire and forget! This means
it's a lot quicker, and the network card / OS have to do
very little work to translate the data back from the
packets.

Is This Answer Correct ?    18 Yes 2 No

difference between Tcp and udp ..

Answer / kkr

tcp udp
1 transfer control protocol 1 user datagram protocol
2 connection oriented protocol 2 connection less protocol
3 it provides acknowledgement 3 it doesn't provides
acknowledgement

Is This Answer Correct ?    14 Yes 1 No

difference between Tcp and udp ..

Answer / franklin doss

TCP
Transmission Control Protocol
Tcp/Udp are layer4 transport layer protocol.
Tcp is a most popular protocol
Tcp is a connection Oriented protocol that means tcp makes
virtually path when session between source and destination.
example:Telephone conversation

Udp
User Datagram Protocol
Connectionless protocol
it works in layer 4
it can't make dedicated path.
example.telephone's ring only

Is This Answer Correct ?    6 Yes 1 No

difference between Tcp and udp ..

Answer / jyotish kumar naik

TCP connection
---------------
1- Reliable
2- Reliable because connect() present at the client side.
3- TCP work on data stream
4- ordered : if you send two messages along a connection
one after the other you know the first message will get
there first. You don't have to worry about data arriving in
the wrong order.

5-heavy n/w overhead
6- Three way handshake is performed.
7- Acknowledgement facility

UDP connection
--------------
1- Not reliable
2- Not reliable because connect() is not present at client
side.
3- UDP work on data block
4- Not ordered - If you send two messages out you don't
know what order they'll arrive in.
5-Low n/w overhead
6- No three way hand shaking
7- No acknowledgement facility

Is This Answer Correct ?    5 Yes 2 No

Post New Answer

More Linux Commands Interview Questions

How remove all files in a directory linux?

0 Answers  


How do I find the process id in linux?

0 Answers  


What is in mkdir command?

0 Answers  


How do I clear bash history in linux?

0 Answers  


What command used for showing user info like Login Name, Canonical Name, Home Directory,Shell etc in Linux?

0 Answers   UGC Corporation,






What is dos and its commands?

0 Answers  


ls -l ls -t ls -r ls -a ls -ltr ls -u grep error file.txt grep -v error file.txt perl prg.pl | ./file.txt tee chmod +x chmod -x chmod =x ps bg date +%y%m%d ?

0 Answers   HP,


Please send Security on linux related questions and answers.

0 Answers   Linux,


Who linux commands?

0 Answers  


You attempt to delete a file called sales.mem using the rm command but the command fails. What could be the problem?

0 Answers  


Where is command history stored in linux?

0 Answers  


in unix how to change old name to new name

7 Answers   Google,


Categories