how to access the different flags of a socket from user space
I have established a socket connection between 2 systems on a switched LAN. I want to determine the socket state, bytes left in rcv buffer, etc from the user space.
How to access different members of struct sock, which in turn is a member of struct sk_buff from user space ?
|