:: 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                      
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)
What is difference between the TCP/IP and UDP socket
 Question Submitted By :: MFC
I also faced this Question!!     Answer Posted By  
# 1
TCP/IP is connection oriented and UDP is Connection less
Is This Answer Correct ?    43 Yes 6 No
Naved Lodi
# 2
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
# 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
# 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
# 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

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
Is This Answer Correct ?    10 Yes 3 No
Debiprasanna Panigrahi

Other MFC Interview Questions
  Question Asked @ Answers
What is Multithreading Invensys 1
what is message Testing ? L&T 1
What function is called by a document class to notify views that the document has been changed?   2
What is model and modeless dialog box ? Give some examples? Mphasis 2
Hi All, i am new for VC++ SDK. i want to get the IP Address of all the External device connected with my local machine.please give the code Regards, Praveer TCS 1
what is the use of CCmdTarget? Siemens 3
Differ GetMessage, PostMessage & PeakMessage? Symphony 4
19)how to set Back Ground Picture to a Dialog Box in MFC ?   1
How to update all the views whenver document got updated ?   1
Why not virtual functions to handle messages?   5
Types of DLL's Invensys 11
What is the base class for MFC Framework ? Mphasis 2
For more MFC Interview Questions Click Here 

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