TCP is a protocol where all the data is verified when sent. There is extra back and forth communication along with the payload to check that the payload arrived safely. Its great for downloading files when you want to make sure nothing is missing or damaged. UDP is more like a constant data stream where the sender doesn’t care if it all gets to you. The advantage is that you send less data overall, useful if you don’t care if one frame of a video stream looks weird.
One protocol isn’t safer than another, its all about how much bandwidth you have/need. Torrenting over TOR uses up way more bandwidth than needed. Depending on the implementation, TCP can use 50% more bandwidth.
TCP is a protocol where all the data is verified when sent. There is extra back and forth communication along with the payload to check that the payload arrived safely. Its great for downloading files when you want to make sure nothing is missing or damaged. UDP is more like a constant data stream where the sender doesn’t care if it all gets to you. The advantage is that you send less data overall, useful if you don’t care if one frame of a video stream looks weird.
One protocol isn’t safer than another, its all about how much bandwidth you have/need. Torrenting over TOR uses up way more bandwidth than needed. Depending on the implementation, TCP can use 50% more bandwidth.