|
differences between "struct sock" and "struct socket"
can anyone tell me some differences between "struct sock" and "struct socket" that are data structures of network protocol stack ?
till now I just find out that 'struct sock' provides the interface downward to the kernel and 'struct socket' provides interface upward to userspace.
Please correct me if I am wrong and also provide more differences.
|