I need to get the get the client IP from a specific connection from proftpd on linux (where I know the pid). I have searched in the /proc/ dir but wasn't able to to get any information about the IP.
Does anyone know a method how to get or where to find this information?
p.s. sorry, but i forgot to mention that all this should happen from inside a FUSE implementation, so is it possible to get that information without using an extern programm or is there maybe a library that could help me doing that ?