Search squid archive

find current ip address in code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 not. the rest is not an issue and is mostly
done ...

all i need now is how to get the ip address... if someone can plz tell me if
there is direct procedure for getting the ip address. if not plz suggest the
required  code...

i am making the changes in store.c file where there are no implicit
references to the clients ip address so that i may get it directly ..unlike
other files like client_side.c

thanks

--
- Siddhesh

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux