find current ip address in code

2007-04-15 Thread Siddhesh PaiRaikar
hi.. wat is the way to get the ip address of the machine whose request i am currently processing... in the code that is what piece of code will i have to add to get the ip address... i just am doing some validation and hence need to see if the ip address is allowed to access the site or

Re: [squid-users] find current ip address in code

2007-04-15 Thread Henrik Nordstrom
mån 2007-04-16 klockan 01:12 +0530 skrev Siddhesh PaiRaikar: wat is the way to get the ip address of the machine whose request i am currently processing... in the code that is request-client_addr i am making the changes in store.c file where there are no implicit references to the