Etamar Laron
Etamar Laron

Reputation: 1162

HTTP over UDP implementation in Java

Have you had any experience with HTTP over UDP with Netty, or a similar framework? (MINA, CAMEL)? We get mixed results and are interested in learning about your experience with running formal protocols over UDP.

Edit: Any C/S protocol that transfers control+data and runs over UDP would be interesting to learn about: SMTP, HTTP, FTP... we're interested in hearing about people who successfully implemented / used such protocols with UDP.

Upvotes: 0

Views: 1214

Answers (1)

Nicholas
Nicholas

Reputation: 16056

===== UPDATE =====

I don't know much about it, but SCTP provides some of the same stream control as TCP and can be tunneled over UDP. I mention it because I believe netty 4 has support for SCTP transport, so this might be an option for you.


HTTP assumes a reliable transmission protocol, so although you can use it over UDP, you're on your own. From Wikipedia:

HTTP is an application layer protocol designed within the framework of the Internet Protocol Suite. Its definition presumes an underlying and reliable transport layer protocol,[2] and Transmission Control Protocol (TCP) predominates for this purpose. However HTTP can use unreliable protocols such as the User Datagram Protocol (UDP), for example in Simple Service Discovery Protocol (SSDP).

Upvotes: 3

Related Questions