Quote:
well TCP is connection oriented and UDP is connectionless, so how UDP is faster than TCP can anyone enlighten me>? Is connectionless= no connection?
UDP as a Protocol is not that bad as it sound's (like being Conectionless, Dosen't Gurantee Delevery , Pakets Might Routed throught Different paths altogether, Packets might reach out of order or might arrive faster than the receiver can handle )..........But i think thse are the features that gives it the Speed and flexibility....and i think it's more roubust than the connectoin orented counterpart...First case if in IP which is connection oriented a Router or a Switchin node breaks down .. the whole connection will be lost.....new connection has to be created and retransmittion .....By take the case of UDP ..Packets Might be talking alterantive routes..........It's faster Because no overheahs employes on connection formation.....Sequencing ......and Acknoledgment......Just throw the packets out and let the Higher layers take care of the delivery and other stufff.......It's the Best for These kind of transmission such as Chat why employ so muct overhead on transmitting text messages.......Have you notices sometimes some words or lines sometimes Getting dissapering from the original message........Thats because of Packet loss....Happens to me all the time ......