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/ - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html