From: Александр М. <am...@ma...> - 2010-08-05 10:06:42
|
Hello! I want to implement HTTP-like client and server over UDP. It is used in Simple Service Discovery Protocol (SSDP), which is the part of UPnP. Now I wrote simple implementation without cpp-netlib. > > 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 > Alex Martynov |