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
 
How to handle RTTI in MFC ?   1
What is the difference between OnInitialUpdate and OnUpdate?   5
What is the base class for most MFC classes? CMC 7
What is the use of CCmdTarget ?   4
Which CPrintInfo member variable must be set for multiple page printouts?   1
What is the initial function to be called in MFC and what it will do Infosys 11
how u can move CDC pointer to one line in cview?   2
what is message Testing ? L&T 1
What is serialization ?which function is responsible for serializing data ?   5
What interface must be supported by an ActiveX control?   2
What is the difference between Extension DLL and Regular DLL? GE 6
Difference between Debug and Release versions?   4
 
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