2 The second table highlights the main differences between three transport protocols UDP, TCP and \emph{swift}. In
3 a perfect network UDP is the fastest way to transfer data, but in a real network problem arises because of corrupt
4 packets or failed transfers. TCP ensures the correct transmission and because of this it's slower than UDP. \emph{Swift}
5 tries to make a compromise between UDP and TCP. \emph{Swift} is a connection-less protocol, but checks the validity of
6 the received data. Also, transfers are made between more seeders, not just between a server and a host like TCP does.
7 Thus, in a real network, \emph{Swift} is more secure than UDP and faster than TCP.
11 \begin{tabular}{|c|c|c|c|}
13 Properties & \multicolumn{3}{|c|}{Protocols} \\
15 & Swift & UDP & TCP \\
17 Sockets & 1 & 1 & 1 \\
19 Listening Ports & 1 & 1 & 1 \\
21 Packets received for sending data & 1 & 1 & 1 \\
23 Packets sent for sending data & 1 & 1 & $Nr_{fails} + 1$ \\
25 Packets sent for getting data & N & 1 & $Nr_{fails} + 1$ \\
27 Packets received for getting data & N & 1 & $Nr_{fails} + 1$ \\
29 Util packets when getting data & 1 & 1 & 1 \\
31 Recall posibility when getting data & $\approx\frac{100}{2^{N}}\%$ & $75\%$ & $0\%$ \\
33 Usability when getting data & $\frac{1}{N}\%$ & $100\%$ & $100\%$ \\
35 Bandwidth used & high usage & low usage & medium usage \\