What is difference between TCP/IP and UDP?

Showing Answers 1 - 75 of 85 Answers

sanjay kumar

  • Nov 3rd, 2006
 

tcp/ip is a connection oriented protocol layer whereas udp is connectionless protocol

Gowri

  • Nov 3rd, 2006
 

TCP is connection oriented protocal

UDP is Connectionless Protocal

Joshy Mathew

  • Nov 6th, 2006
 

hi,

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

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

selva

  • Nov 7th, 2006
 

tcp more reliable.but slow proccessing,  udp not reliable but fast

  Was this answer useful?  Yes

cnr

  • Nov 8th, 2006
 

please send this question answer

  Was this answer useful?  Yes

mukesh

  • Nov 11th, 2006
 

TCP/IP it is transmision control protocol/internet protocaludp-user datagram protocolfor more help search on webi think this will answer you question

  Was this answer useful?  Yes

manoj

  • Nov 17th, 2006
 

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

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

sandeep kumar singh

  • Nov 21st, 2006
 

TCP/IP IS CONNECTION ORIENTED

AND UDP IS CONNECTIONLESS

  Was this answer useful?  Yes

awad bin mohammad

  • Nov 28th, 2006
 

DIFFRENCE BETWEEN TCP AND UDP IS TCP IS A CONNECTION OREINTED PROTOCOL AND UDP IS CONNECTIONLESS OREINTED PROTOCOL.

  Was this answer useful?  Yes

swamy MR

  • Nov 30th, 2006
 

TCP is connection oriented UDP connectionless

TCP creates virtual cicrute between sending and recieving divece

TCP sagments are numbered and sequnced though in recieving divice can place them in the same number

TCP uses ack but UDP not

  Was this answer useful?  Yes

jonny2711

  • Dec 12th, 2006
 

TCP is a connection oriented protocol found at layer 4 (Transport) layer of the OSI (Open Systems Interconnect) model. TCP is windowing, where the sliding window allows a varying amount of data bits to be transferred to a destination at a time. UDP is a connectionless protocol also found at layer 4 of the OSI model, unlike TCP, there is no sychronisation of transmitting/recieving devices before data is sent- therefore UDP is considered less reliable than TCP.

  Was this answer useful?  Yes

balaji

  • Dec 13th, 2006
 

TCP is connection oriented protocal but udp connectionless.

UDP is simlar to IP but it(UDP) is in network layer

  Was this answer useful?  Yes

swappy19

  • Dec 20th, 2006
 

Well TCP/IP is not a protocol but a protocol stack containg 4 layers. At the 3rd layer ie. transport layer exist TCP protocol or UDP protocol depending upon the application you are using. Exmple if you are using FTP then it uses TCP at Transport layer and if you are using SNMP it uses UDP at Transport layer. The difference between TCP and UDP are mentioned in the above replies like TCP :- connection oriented, reliable nad UDP connectionless, unreliable.

So it is the need of application which decides which protocol to use at transport layer. 

  Was this answer useful?  Yes

Gandhiraja

  • Dec 22nd, 2006
 

hi TCP/IP: is a Connection oriented and stream,reliable

udp:is a connectionless,datagram,unrelaible

  Was this answer useful?  Yes

Jai Singh

  • Dec 29th, 2006
 

TCP is connection oriented protocal

udp is connection less protocal

TCP is Reliable

UDP is Not reliable

  Was this answer useful?  Yes

revathi

  • Jan 4th, 2007
 

TCP                                                                           UDP

1.reliable                                                              1.unreliable

2.it is modelled after telephone system                   2.it is modelled after postal system

  Was this answer useful?  Yes

mk shareef

  • Jan 8th, 2007
 

TCP/IP is a connection oriented protocol layer whereas UDP is connectionless protocol.

TCP/IP is little bit slow but it is secure where as UDP is very fast but it is not secure.

  Was this answer useful?  Yes

Ajay Sharma

  • Jan 15th, 2007
 

TCP is a connection oriented protocol found at layer 4 (Transport) layer of the OSI (Open Systems Interconnect) model. TCP is windowing, where the sliding window allows a varying amount of data bits to be transferred to a destination at a time. UDP is a connectionless protocol also found at layer 4 of the OSI model, unlike TCP, there is no sychronisation of transmitting/recieving devices before data is sent- therefore UDP is considered less reliable than TCP.

  Was this answer useful?  Yes

harihar paneru

  • Feb 8th, 2007
 

TCP/IP is a set of connection oriented protocols used to manage data transmission by breaking it upto packets so it is more reliable and slow processing but UDP is connectionless protocol which isnot realible but faster processing.

  Was this answer useful?  Yes

saranya

  • Mar 7th, 2007
 

TCP/IPis a protocol suite . which is similar to a OSI layer which has 5 layers . in which the top 3 layer of OSI i.e application , presentatio and session is combined to gether in TCP/IP as application layer and we have transport,network,datalink and presentation layers . In TCP/IP each layer is indepent of its functions.

whereas UDP is a communication protocol used in transport layer for connectionless,unreliable transmission of datas.

  Was this answer useful?  Yes

kiran

  • Mar 14th, 2007
 

tcp is an  example of connection oreinted  technology where u get an acknowledgement   best example is sms to sms using  mobile phone where u get and acknowledgement.


udp and ip are connection less technology where u dont get an acknowledgement.

  Was this answer useful?  Yes

jayakanth

  • Jun 20th, 2007
 

TCP/IP is a connection oriental protocol
UDP is a connectionless protocol

murali

  • Aug 17th, 2007
 

TCP is reliable and any data sent, automatically receives an acknowledgment. But UDP does not give acknowledgment.

That is the big difference TCP and UDP

infe12

  • May 30th, 2008
 

TCP - Transfer Control Protocol.
a.Reliable
b.Connection oriented.
c.Acknowledgement

UDP - User Datagram Protocol.
a.Non Reliable
b.Connectionless
c.No Acknowledgement

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

  Was this answer useful?  Yes

  Transmission Control Protocol (TCP) User Datagram Protocol (UDP)
1 TCP is a connection oriented protocol. UDP is connectionless protocol.
2 TCP ensures reliable data communication but gives slow throughput. UDP is unreliable but gives fast throughput.
3 TCP supports Virtual Circuits. UDP doesn't supports Virtual Circuits.
4 TCP uses sequencing, acknowledge, error detection, error recovery and  flow control (windowing). UDP doesn't.

  Was this answer useful?  Yes

Vinod

  • Aug 26th, 2011
 

The difference between TCP and UDP is just like a Postman & Courier boy...

TCP provides us acknowledgement of data transmission BUT UDP doesn't provide us any acknowledgement of data transmission..

  Was this answer useful?  Yes

pankaj

  • Sep 11th, 2011
 

TCP/IP is connection oriented protocol eg:-smtp, icmp, ftp.
UDP is connection less protocol eg:-tftp, dns, telnet

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions