poll: have you ever designed a protocol that uses TCP or UDP directly? (vs using protocols that are based on TCP/UDP like DNS, HTTP, SSH, etc)

(you can pick more than one)

yes, TCP
36.1%
yes, UDP
24.3%
no, but I’ve used protocols based on them
37%
other
2.6%
Poll ended at .

I'm so curious about what the 30% of you who are designing custom UDP-based protocols are doing, I would love to hear more!

(please only reply if you responded “yes, UDP” to the above poll)

@b0rk I have only used UDP in situations where I’m either sending very sparse packets of data on a timer say and I actually don’t care if any one particular one makes it, or when doing time sensitive data over a LAN as in teleoperation.

Anything else and you risk being a bad citizen by ignoring the TCP exponential back off algorithm. I strongly advise against using UDP unless you have a fixed data rate and you really care about not building a backlog of packets.

@b0rk if you have latency concerns, try TCP but turn on TCP_NODELAY first and see how that treats you