What is difference between the TCP/IP and UDP socket

Answers were Sorted based on User's Feedback



What is difference between the TCP/IP and UDP socket..

Answer / naved lodi

TCP/IP is connection oriented and UDP is Connection less
protocol.

Is This Answer Correct ?    62 Yes 9 No

What is difference between the TCP/IP and UDP socket..

Answer / rajendar gunnal

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 ?    51 Yes 14 No

What is difference between the TCP/IP and UDP socket..

Answer / ubong inyang

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 ?    29 Yes 1 No

What is difference between the TCP/IP and UDP socket..

Answer / anand

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 ?    20 Yes 10 No

What is difference between the TCP/IP and UDP socket..

Answer / debiprasanna panigrahi

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 ?    14 Yes 5 No

Post New Answer

More MFC Interview Questions

what is the use of CWinApp class?

3 Answers   Mphasis,


Why not virtual functions to handle messages?

5 Answers  


what message is sent to an application when the user presses the primary button?

0 Answers   University Exams,


What is the initial function to be called in MFC and what it will do

11 Answers   Infosys,


Which CPrintInfo member variable must be set for multiple page printouts?

1 Answers  






what if we provide two message handler for same message ?

1 Answers  


Which Macro is a Super set of other two macro DECLARE_SERIAL,DECLARE_DYNAMIC and DECLARE_DYNCREATE. ?

2 Answers   Sony,


What is the use of CObject::Dump function ?

4 Answers  


What is a message map, and what is the advantage of a message map over virtual functions?

1 Answers  


If i derive a new class from CObject what are the basic features my derived wil get ?

4 Answers   Microsoft,


Differ GetMessage, PostMessage & PeakMessage?

4 Answers   Symphony,


What is LoadLibrary function returns?

7 Answers  


Categories