Hi,
I use cxxtools for a small restful api application. It works just fine,
thanks for this nice piece of software!
Now I would like to restrict the allowed remote IPs, but I can't see how
I get the remote address from the request. Of course I could do
getHeader("REMOTE_ADDR"), but that could easy get faked.
Does somebody have a small code snippet for getting the remote address
somehow in a reliable way?
Regards
Gerald
!DSPAM:550ef887184681070818870!
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general