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 ?    43 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 ?    37 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 ?    14 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 ?    17 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 ?    10 Yes 3 No
Debiprasanna Panigrahi
 

 
 
 
Other MFC Interview Questions
 
  Question Asked @ Answers
 
what is the use of AFX_MANAGE_STATE ? HCL 4
How to update windows title bar dynamically? HCL 7
What is #progma and where it is used? L&T 4
what is the use of CCmdTarget? Siemens 3
How to handle RTTI in MFC ?   1
What function is used to disable a control at runtime?   7
19)how to set Back Ground Picture to a Dialog Box in MFC ?   1
Explain in sort What is CTargetObject?   2
What is socket?   3
What four types of properties are supported by an ActiveX control?   1
what do you mean by psychic window? Patni 2
Which Macro is a Super set of other two macro DECLARE_SERIAL,DECLARE_DYNAMIC and DECLARE_DYNCREATE. ? Sony 2
 
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