From: Dean M. B. <mik...@gm...> - 2010-08-05 05:48:26
|
Hi Alex! Sorry about the really late response, this is embarrassing to me -- I'm usually not this late when responding. That said, please see below. 2010/7/21 Александр Мартынов <am...@ma...>: > Hello! > > Is there the way to use HTTP server on UDP? I want to implement HTTP-like protocol over UDP. That protocol is like HTTP, but works on UDP and have different set of headers, so I need the headers such "Content-Lenght" wouldn't automaticaly added to set of headers. > There *should* be a way to do this, but I'm afraid this is a fringe requirement that isn't really standard HTTP. With cpp-netlib, I don't think we will be supporting this anytime soon unless there's real demand for it. One thing to consider is to use Boost.Asio directly to do it, sidestepping the HTTP server that cpp-netlib provides. Another thing worth thinking about is supporting SCTP, which is gaining popularity for internal network communications for high throughput networking requirements. This is something that Boost.Asio is yet to support and is still in the early stages of support. Until Boost.Asio supports SCTP I might not be inclined to support it earlier than that. ;) HTH! -- Dean Michael Berris deanberris.com |