In which namespace/file I can find "source" function?
I try to find in v0.5. Is there any problems when upgrading from 0.5 to 0.6? Is 
there no/little changes needed in my code to work with v0.6?

> > Hello,
> >
> >  I'm using cpp-netlib v0.5 in my http server and I want to get remote
> >  (peer) IP-address when I handle request. How I can get it?
> >
> 
> You can check the source of the request object that gets passed into
> the handler. You can do this by doing:
> 
>     string ip = source(request);
> 
> If this doesn't work then that should be a bug. :)
> 
> HTH
> 
> (BTW, you might want to use 0.6 instead of 0.5).
> 
> -- 
> Dean Michael Berris
> deanberris.com
> 

Alex Martynov

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Cpp-netlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel

Reply via email to