Mohsin Niazi
Mohsin Niazi

Reputation: 35

Protocol for downloading file

I am looking for a protocol which is non-blocking(does not wait for missing packets) like UDP but it tracks the missing packets so I can download the missing packets later/in parallel. The main objective is to increase the download speed by avoiding waiting time for packets and still getting the complete file. Kindly if there is something like this out there that can help increase download speed then name it. Thanks.

Upvotes: 0

Views: 109

Answers (1)

ihsan
ihsan

Reputation: 586

Short answer: You don't. UDP does not have anything equivalent to TCP's sequence number / acknowledgement number mechanism to let you track packets and detect packet loss.

If the higher-level protocol that's running on top of UDP (RTP, TFTP, etc.) has some sort of identification number or sequence number or block number that is unique per packet and that changes in a predictable way, then you could display that number in a custom column and manually look for missing numbers, but there is no way in the UDP protocol itself to identify missing packets.

Click here for the source.

Upvotes: 1

Related Questions