I'm coding a small application that connects to the Internet and retrieves information from my server using bsd socket
. I looked at where the proxy settings are stored under Linux but i couldn't the file containing this information.
I just want to find that file, so I can read the proxy settings from it and use these settings in my application.
Best Answer
They're in the
$http_proxy
,$https_proxy
and$ftp_proxy
environment variables. Also,$no_proxy
contains a comma-separated list of host patterns for which no proxy is used. For example: