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 ?    48 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 ?    41 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 ?    17 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 ?    19 Yes 8 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 ?    12 Yes 3 No
Debiprasanna Panigrahi
 

 
 
 
Other MFC Interview Questions
 
  Question Asked @ Answers
 
Name the Synchronization objects?   2
What is the difference between the SDI and MDI Invensys 2
What are the types of button controls?   10
What MFC base classes provide support for ActiveX controls? Wipro 2
In MFC By Using Communication Between Dialog Boxes,How Can We Send Message Of one Dialog Box To Another Dialog.? Financial-Technologies 2
What is a message map? Mphasis 1
what do you mean by psychic window? Patni 2
if i modified data in 1 view how does the other view knows Siemens 2
How to handle dynamic menus in MFC? HCL 3
i have created runtime menu -- ( admistrator ->managepackage,manage module). but now i want to open a dialog when i select manage package and any other diaolg when selecting manage module ( whole selection is at run time only ) . Please HELP .its urgently required Patni 3
What is #progma and where it is used? L&T 5
What is the difference between hinsrtance and hprevinstance in WinMain function?   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