Hi Oleg!

Sorry to reject your email to the mailing list, I encourage you to
join it and start the discussion on the list again. That said, I've
CC'ed the list so that others can see my response to your email too:

2010/10/13 Oleg Stupnikov <[email protected]>:
>
> I'm using cpp-netlib library and it looks very nice for me!

Thanks very much! :)

> There are a
> couple of questions I didn't manage to solve myself:
> 1. how to make it working as https server. I tied to google and I found some
> e-mail threads about that, but with no answers.

Ah, yes. Well, the quick answer would be that you can't do it yet with
the current version. I haven't worked on the HTTPS part of the server
yet (I have yet to write that part actually) which I hope to do in
version 0.8.

>     Could you please briefly explain me how to switch http server to https
> mode using your library?

Right now, it's not yet possible. I'll get back to you as soon as it
is possible. :)

> 2. how to get the client's IP address of a particular request?

You can do the following in your handler:

    string client_ip = source(request);

Where `request` is the request object passed into the request handler.

> Thank you so much for your help!

Thank you too and I hope this helps!

-- 
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

Reply via email to