On Wed, Oct 13, 2010 at 7:39 PM, Oleg Stupnikov <[email protected]> wrote:
> Hi Dean!
>
> Thank you for the quick response!
No worries, you're welcome. :)
> I'm sorry for e-mailing you directly - I didn't know the rules. You can
> publish our chain somewhere on your side. I'm fully agree with you we had
> better to share this information to everyone.
No problem. :)
> Could you please clarify a little bit your answers?
> 1. When you are planing to release 0.8 version of the library? Approximately
> :)
Ah, I'm finishing up 0.7 this week, and will be cleaning up a lot of
the repetitive code with preprocessor macro's. I'm also writing a huge
chunk of documentation regarding the HTTP client.
> 2. I tried the following code, but It didn't compile:
> template<typename request_t, typename response_t>
> void HttpServer_::operator() (request_t const &request, response_t
> &response)
> {
> std::string ip_address = boost::network::source(request); // I also
> tried std::string ip_address = boost::network::source<std::string>(request);
> // but it didn't compile with another compile error
> //....
Oh boy, you're right. Are you using the latest release? It looks like
the request variable doesn't contain the source! :( I'll fix that in
0.7, which should be out within the week. If you cannot wait, I'll be
pushing a fix tonight to the 0.7-devel branch, and I'll let you know
when it's ready so that you can pull.
Thanks for trying that. In the meantime, there's no way yet to get the
source of the request. I haven't been paying attention to the server
implementation for a while already, and overlooked this one aspect. :/
>
> Thank you so much for your help!
You're welcome, and I hope I'll be able to help more in the future. :)
> With best wishes,
Thanks Oleg!
--
Dean Michael Berris
deanberris.com
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Cpp-netlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel