ALLInterview.com :: Home Page            
 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  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Programming Languages >> VC++ >> MFC
 
 


 

 
 MFC interview questions  MFC Interview Questions (171)
 ATL interview questions  ATL Interview Questions (25)
 COM DCOM interview questions  COM DCOM Interview Questions (35)
 Win32API interview questions  Win32API Interview Questions (28)
 ActiveX interview questions  ActiveX Interview Questions (18)
 VC++ AllOther interview questions  VC++ AllOther Interview Questions (65)
Question
What is difference between the TCP/IP and UDP socket
 Question Submitted By :: MFC
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
TCP/IP is connection oriented and UDP is Connection less
protocol.
 
Is This Answer Correct ?    45 Yes 6 No
Naved Lodi
 
Answer
# 2
TCP/IP Vs UDP :
1. Connection oriented & other is Connection less
2. Will have Acknowledgment & other one don't
3. Performance slow & other one fast
4. More secure & other is not much
 
Is This Answer Correct ?    39 Yes 9 No
Rajendar Gunnal
 
 
 
Answer
# 3
udp socket does not create connections, and as such it does
not keep track of the connection state; also it does not
have reciver buffer on either side sender or reciver; in
contrast tcp socket is a bidirectional communication
sockets which keeps track of connection state, established
connection , and also create reciever buffer on both sides
ofthe end to end connection
 
Is This Answer Correct ?    15 Yes 1 No
Ubong Inyang
 
Answer
# 4
we can add so many to above list
-- TCP/IP offer guaranteed delivery while UDP does not
-- TCP/IP consumes high bandwidth. UDP is good guy and
shares band with everyone.
-- TCP/IP guarantees sequencing of packets (Packet sent
first will reach destination first).In UDP you may get last
packet first or not at all!
-- TCP does not have message block boundaries (User has to
define its own)
 
Is This Answer Correct ?    18 Yes 7 No
Anand
 
Answer
# 5
1-TCP is a Connection Oriented Protocol and UDP is a
connection Less Protocol

2-TCP provides guranteed delivery of packets where as UDP
docesnt.

3-TCP can Transmit large amount of data as compared to udp

4-Sequencing of packet is gurantted in TCP.Means the
packets that are sent is delivered in time where in UDP it
is not guranteed that the packets will reach in time to the
destination.
 
Is This Answer Correct ?    11 Yes 3 No
Debiprasanna Panigrahi
 

 
 
 
Other MFC Interview Questions
 
  Question Asked @ Answers
 
What is the size of class Aircom 18
List out the parameters of WinMain Function. Mphasis 1
how does conditionally close the Dialog Box ? infotech 2
how to give colour for dialog button or static buuto?any one explain full code ?pls pls   3
Given two processes, how can they share memory? Microsoft 2
Hi can anyone explain about the synchronization objects types and where we are using in the code.   1
How many types of dialog box are their Honeywell 10
What is the difference between the Encapsulation and Abstraction Invensys 25
How to handle command line arguements from simple MFC application ? TCS 2
1)How to change a text of a button as Dynamically? HCL 1
Explain the flow of SDI application? Mphasis 7
how do u identify RTTI in vc++ Siemens 3
 
For more MFC Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com