Can TCP be implemented via UDP?

后端 未结 9 1771
后悔当初
后悔当初 2021-01-31 08:45

I had a strange idea. I heard of software which from my understanding uses UDP to transfer files decreasing the overhead found in TCP packets.

If my app requires TCP and

9条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-31 09:16

    Hmm, I believe so. You'd need to use a proxy at both ends, but it should be possible.

    The biggest problem you are going to run into is that UDP is designed with the idea that you don't care if some of the packets don't ever make it to the other end.

    Here's a link with some more info:

    http://www.cyberciti.biz/faq/key-differences-between-tcp-and-udp-protocols/

    IMHO, it's not a good idea to transmit files via UDP.

提交回复
热议问题