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

Is a command a full sentence?

0 Answers  


What is top command in linux?

0 Answers  


Main configuration file and command used for NFS enabling exported directories and deamons?

0 Answers  


How do I check my cpu speed?

0 Answers  


what is Bourne shell.

1 Answers   Google, HCL, Infosys,






What are vim commands?

0 Answers  


what are the init levels in Linux?

3 Answers  


What does grep grep do?

0 Answers  


How do I clear bash history in linux?

0 Answers  


What are commands in grammar?

0 Answers  


What is know about grep commands?

0 Answers  


The ‘logout’ built in command is used to

0 Answers  


Categories