Hello,
I create an application based on simplehttpserver exemple of fcl-web. (lazarus\fpc\2.6.2\source\packages\fcl-web\examples\httpserver)
In TTestHTTPServer.HandleRequest procedure, I am trying to get the ip address of request. I can get the useragent & cookies but i can't get the ip.
How can I get the IP of the request ?
Another query on this exemple, on linux (with a raspberry) when i compil & execut the code i have this error : Binding of socket failed: 80
To not get this error I have to start the application with sudo. How can I do to not have this problem ? (For debugging)
Thanks,
Bye.