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

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,


What is the command to check wwn # in linux?

4 Answers   Siemens,


What is build process?

0 Answers  


how do you port scaning with netcat command?

1 Answers   Qseap Technologies, Wipro,


What is grep command in linux with examples?

0 Answers  






What is bash command?

0 Answers  


What is the difference between kill and kill -9 commands?

4 Answers   Sabre,


Explain getopts command of linux?

0 Answers  


hi friends how to reinstall the grub.conf file. once i delete the grub file in perminatle ofter how to get back that file. plz send me ans. regards. madhu.m

5 Answers  


What is llvm used for?

0 Answers  


List the three main parts of an operating system command?

0 Answers  


what is difference between $@ and $* in UNIX Shell script

3 Answers   Google,


Categories