What is difference between the TCP/IP and UDP socket
Answers were Sorted based on User's Feedback
Answer / naved lodi
TCP/IP is connection oriented and UDP is Connection less
protocol.
| Is This Answer Correct ? | 62 Yes | 9 No |
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 |
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 |
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 |
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 |
What are the differences between MFC Exception macros and C++ exception keywords?
How to convert the content of buffer into lower case character.
Types of DLL's
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
What is CArchive class dowes?
how to give colour for dialog button or static buuto?any one explain full code ?pls pls
1)At run-time, you can change the icon by calling the LoadIcon() function?
What is the difference between Extension DLL and Regular DLL?
What function is used to disable a control at runtime?
What function is called by a document class to notify views that the document has been changed?
Hi All, I have created one MFC Dialog Based application.now if i am running the application its working fine,instead of closing he application i minimized the application,if i run the application again,i am getting the Dialog. I want to prevent the calling of application multiple times. please give me the code and let me know in which method i need to make changes. Praveer
General purpose classes in MFC