Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What kind of stigma is there around UDP? I have never heard of this and I have never seen anyone use UDP expecting it to be reliable.

I think the biggest mistake people make with UDP protocols is allowing traffic amplification attacks.



I don't think anyone expects it to be reliable, they just don't plan for packet loss properly.


Plan? Or implement?


Both? I've seen UDP and TCP treated as interchangeable. They're not, even though in many cases the APIs involved make it seem that way. Choosing datagrams and unreliable transport vs. streams and reliable transport affects the rest of the protocol design and behavior, whether the designer wants it to or not and whether the implementer considered the consequences or not.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: