GeekInterview.com
Series: Subject: Topic:
Question: 79 of 110

What is difference between TCP/IP and UDP?

Asked by: Interview Candidate | Asked on: Nov 2nd, 2006
Showing Answers 1 - 31 of 31 Answers
sanjay kumar

Answered On : Nov 3rd, 2006

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

Yes  1 User has rated as useful.
  
Login to rate this answer.
Gowri

Answered On : Nov 3rd, 2006

TCP is connection oriented protocal UDP is Connectionless Protocal

Yes  1 User has rated as useful.
  
Login to rate this answer.
Joshy Mathew

Answered On : Nov 6th, 2006

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

Yes  2 Users have rated as useful.
  
Login to rate this answer.
selva

Answered On : Nov 7th, 2006

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

  
Login to rate this answer.
cnr

Answered On : Nov 8th, 2006

Please send this question answer

  
Login to rate this answer.
mukesh

Answered On : 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

  
Login to rate this answer.
manoj

Answered On : Nov 17th, 2006

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.

Yes  1 User has rated as useful.
  
Login to rate this answer.
sandeep kumar singh

Answered On : Nov 21st, 2006

TCP/IP IS CONNECTION ORIENTED AND UDP IS CONNECTIONLESS

  
Login to rate this answer.
awad bin mohammad

Answered On : Nov 28th, 2006

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

  
Login to rate this answer.
swamy MR

Answered On : Nov 30th, 2006

TCP is connection oriented UDP connectionlessTCP creates virtual cicrute between sending and recieving diveceTCP sagments are numbered and sequnced though in recieving divice can place them in the same numberTCP uses ack but UDP not

  
Login to rate this answer.
jonny2711

Answered On : Dec 12th, 2006

View all answers by jonny2711

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.

  
Login to rate this answer.
balaji

Answered On : Dec 13th, 2006

TCP is connection oriented protocal but udp connectionless.UDP is simlar to IP but it(UDP) is in network layer

  
Login to rate this answer.
swappy19

Answered On : 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. 

  
Login to rate this answer.
Gandhiraja

Answered On : Dec 22nd, 2006

hi TCP/IP: is a Connection oriented and stream,reliableudp:is a connectionless,datagram,unrelaible

  
Login to rate this answer.
Jai Singh

Answered On : Dec 29th, 2006

TCP is connection oriented protocaludp is connection less protocalTCP is ReliableUDP is Not reliable

  
Login to rate this answer.
revathi

Answered On : Jan 4th, 2007

TCP                                                                           UDP1.reliable                                                              1.unreliable2.it is modelled after telephone system                   2.it is modelled after postal system

  
Login to rate this answer.
mk shareef

Answered On : 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.

  
Login to rate this answer.
Ajay Sharma

Answered On : 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.

  
Login to rate this answer.
harihar paneru

Answered On : 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.

  
Login to rate this answer.

Hi all,The difference between TCP/IP and UDP is :TCP/IP is a Protocol Stack (group of protocols which includes TCP,UDP,IP,ICMP,SMTP.NNTP,ARP,RARP AND etc.Where as UDP is protocol which comes to the family of TCP/IP.

  
Login to rate this answer.
saranya

Answered On : 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.

  
Login to rate this answer.
kiran

Answered On : 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.

  
Login to rate this answer.
jayakanth

Answered On : Jun 20th, 2007

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

Yes  1 User has rated as useful.
  
Login to rate this answer.
murali

Answered On : 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

Yes  1 User has rated as useful.
  
Login to rate this answer.
infe12

Answered On : May 30th, 2008

View all answers by infe12

TCP - Transfer Control Protocol.a.Reliableb.Connection oriented.c.AcknowledgementUDP - User Datagram Protocol.a.Non Reliableb.Connectionlessc.No Acknowledgement

Yes  1 User has rated as useful.
  
Login to rate this answer.
waseem007

Answered On : Jun 30th, 2008

View all answers by waseem007

Tcp is reliable and connection oriented protocol but udp is unreliable connection less protocol.

  
Login to rate this answer.
viveksachaan

Answered On : Jan 28th, 2009

View all answers by viveksachaan

TCP is connection oriented protocol of the transport layerof OSI model,UDP is connectionless protocol of the transport layer of theOSI modelTCP is reliableUDP is nonreliableTCP uses three way handshake to establish, connection toother hostno such three way handshake taken by UDP

  
Login to rate this answer.
mehotra.chitij

Answered On : Feb 17th, 2009

View all answers by mehotra.chitij

  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.

  
Login to rate this answer.

TCP is connection oriented and reliable but slow.UDP is connectionless, not reliable but fast.

  
Login to rate this answer.
Vinod

Answered On : 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..

  
Login to rate this answer.
pankaj

Answered On : Sep 11th, 2011

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

  
Login to rate this answer.

Give your answer:

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

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Question Categories

Bluetooth Interview Questions

Client Server Interview Questions

Computer Networks Interview Questions

Networks and Security Interview Questions

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.