3 ms·
How would you develop a protocol that doesn’t use TCP at all?
by person_of_color 7y ago
How would you develop a protocol that doesn’t use TCP at all?
- comex 7y agoBy building it on top of UDP, which in turn is a thin wrapper around IP. In theory, you could alternately build a new protocol directly on top of IP, just as TCP and UDP themselves are built, but middleboxes have a habit of dropping anything that's not TCP or UDP. Plus, unprivileged users on standard OSes can't send arbitrary IP packets, so it would require more setup for users.
- fulafel 7y agoThere are a lot of IP protocols that sit on top of IP. SCTP, IPsec and ICMP sit right on top of IP on the same level as TCP, for example. Most of the time people UDP use a no-op stub and put their protocol on top of UDP, because many operating systems make it hard to implement IP protocols in userspace, and networks tend to have middleboxes that don't work correctly with most IP protocols.