hello, i wanted to know if there is any function which can from the pointer to the sock structure or the pointer to the socket structure give me the corressponding socket descriptor value. Or even if it can give me the descriptor value from the pointer to the file structure...that would be helpful too. thanks, amit. --- - Amit Want to know more about me? Follow this link-> http://amitshah.nav.to/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/