getting fd from pointer to sock

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

 



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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux