ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories >> Software >> Networking >> Networking-Protocols >> UDP
 
 


 

Back to Questions Page
 
Question
which is the faster protocal either UDP or TCP?
Rank Answer Posted By  
 Question Submitted By :: Narendra Naidu
This Interview Question Asked @   IBM
I also faced this Question!!   © ALL Interview .com
Answer
UDP is the faster protocol as it doesn't wait for 
acknowledgement so it is not at all having reliability as 
compared to TCP.
 
3
Narendra Naidu
 
 
Answer
tcp
 
0
Guest
 
 
Answer
udp is faster..mainly used for video and audio streaming ( 
Rstp)
 
2
Kihore
 
 
 
Answer
tcp
 
0
Sravanthi
 
 
Answer
UDP is faster then TCP in data transmission.
 
1
Surya
 
 
Answer
Compare 2 TCP , UDP is a faster & it is used for download 
uplooud vedio's ...... un reliable
 
2
Sharan
 
 
Answer
UDP is faster than TCP because it is connectionless and need
not wait for connection setup  and ACK.
 
4
Bhaviya K R
 
 
Answer
TCP is faster than UDP.
 
0
Mahipal
 
 
Answer
UDP is faster protocol since it has no acknowledgement 
signal.....
 
0
Santhanam
 
 
Answer
UDP is faster than TCP bcoz it is connection less protocol 
and it also does not wait for acknowledgement . Therefore 
it is specially used for video signals transmission .
 
0
Loknath Nanda
 
 
Answer
how many protocals are there?give me(20)important protocals?
plz it is important to me plz plz.....
 
0
Divya
 
 
Answer
UDP is definitely faster than TCP. Thats why it is mainly 
used for video and streaming audio. Speed!

The reason UDP is fater than TCP is because UDP does not do 
error correction and flow control.
 
5
Pinar Uyanik
 
 
Question
What is the major difference between UDP and TCP/IP 
Protocol?
Rank Answer Posted By  
 Question Submitted By :: Radha_9090
This Interview Question Asked @   CTS
I also faced this Question!!   © ALL Interview .com
Answer
I only know about UDP is unreliable and connectionless 
protocol.And TCP/IP protocol is connection oriented and 
reliable.i want some more advantages and disadvantages and 
UDP where its used.
 
0
Radha_9090
 
 
Answer
UDP: It doesn't wait for acknowledgement as like TCP/IP so 
it is unreliable protocol.

UDP is usually used in where communication needs to be fast 
like in DNS and DHCP.
 
0
Narendra Naidu
[-]
 
 
Answer
The first thing is UDP is connection less where as TCP is 
connection  oriented.The broadcasting and multicasting 
software is available in the UDP only.Why because it is 
connection less hence we can broadcast the packets very 
easily,no need to wait for connection like in tcp,which 
takes more delay.
 
0
J.farooq
[-]
 
 
Question
Write UDP/SOCK_DGRAM applications
Rank Answer Posted By  
 Question Submitted By :: Pramodh
This Interview Question Asked @   Vistech
I also faced this Question!!   © ALL Interview .com
Answer
to implement the udp service we must creat socket by socket 
system call which takes argument as SOCK_DGRAM which is 
used for to pass the data in the form of datagrams.
 
0
G.suresh Babu
 
 
Question
How can I be sure that a UDP message is received?
Rank Answer Posted By  
 Question Submitted By :: Pramodh
This Interview Question Asked @   Vistech
I also faced this Question!!   © ALL Interview .com
Answer
by using Icmp protocol.
 
0
Neha Jain
 
 
Answer
1.In IP Header Protocol field is available,it tells which 
protocol it is using as a transportlayer,if this field is 
having 6(in decimal)it indicates TCP,17(in decimal)it 
indicates UDP.
 
0
J.farooq
[Vistech]
 
 
Answer
You have to design your protocol to expect a confirmation
back from
  the destination when a message is received.  Of course is the
  confirmation is sent by UDP, then it too is unreliable and
may not
  make it back to the sender.  If the sender does not get
confirmation
  back by a certain time, it will have to re-transmit the
message, maybe
  more than once.  Now the receiver has a problem because it
may have
  already received the message, so some way of dropping
duplicates is
  required.  Most protocols use a message numbering scheme
so that the
  receiver can tell that it has already processed this
message and
  return another confirmation.  Confirmations will also have to
  reference the message number so that the sender can tell
which message
  is being confirmed.  Confused?  That's why I stick with TCP.
 
0
Sudheer
[Vistech]
 
 
Answer
You have to design your protocol to expect a confirmation 
back from   the destination when a message is received.  Of 
course is the  confirmation is sent by UDP, then it too is 
unreliable and may not  make it back to the sender.  If the 
sender does not get confirmation back by a certain time, it 
will have to re-transmit the message, may be   more than 
once.  Now the receiver has a problem because it may have  
already received the message, so some way of dropping 
duplicates is  required.  Most protocols use a message 
numbering scheme so that the  receiver can tell that it has 
already processed this message and  return another 
confirmation.  Confirmations will also have to  reference 
the message number so that the sender can tell which 
message  is being confirmed.  Confused?  That's why I stick 
with TCP.
 
0
R.n.achary
[Vistech]
 
 
 
Back to Questions Page
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com