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...

difference between Tcp and udp

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between egrep and grep?

889


Which command reduces the size of a file?

1082


Which command will show you free/used memory? Does free memory exist on linux?

963


What is history command in linux?

1011


What is mkdir?

902


How do I clear bash history in linux?

967


What command is used to check the number of files, disk space, and each user’s defined quota?

989


The head command writes the how many lines of a file to screen?

1035


What is make in linux?

952


Explain about lprm job number?

1040


Which command is used to find what is in your home directory?

941


What is a makefile in c?

929


What command can you use to make a tape archive file of a /home directory and send it to the /dev/tape device?

992


What is the role of case sensitivity in affecting the way commands are used?

1071


What does in makefile do?

953