Hacker News new | past | comments | ask | show | jobs | submit login

http://www.w3.org/Protocols/rfc2616/rfc2616-sec1.html#sec1.4 "HTTP only presumes a reliable transport; any protocol that provides such guarantees can be used"

UDP does not guarantee packet delivery, thus HTTP cannot ride on top of UDP.




Actually it can, and does: http://en.wikipedia.org/wiki/HTTPU


HTTPU is not HTTP. That's why it has a different name...


I stand corrected on that point.


UDP [ Reliable_protocol_wrapper [ HTTP ] ]

Where Reliable_protocol_wrapper does retransmissions, acks, sequence numbering etc.

There's no reason why you couldn't use HTTP over UDP if you like, I'm sure it's most likely been done in the past - if only just for fun.


I think that entry should have read 'http only presumes a reliable connection based transport'.

It would be pretty hard to make http work over something that guarantees transport of a packet but is not connection oriented.




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

Search: