Results 1 to 1 of 1
hi all ....
i am getting tcp sockets process id and its inode value from the output of "netstat -tnape".
From this how to get the socket options like SO_ACCEPTCONN ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-25-2009 #1Just Joined!
- Join Date
- Dec 2007
- Posts
- 1
getting options for opened socket
hi all ....
i am getting tcp sockets process id and its inode value from the output of "netstat -tnape".
From this how to get the socket options like SO_ACCEPTCONN SO_KEEPALIVE..
Is there any way to get socket options from process id or /proc/PID/fd/3->socket:[8510]
or is there any other way to get the options of all tcp sockets in my system from /proc or some where else..
thanks in advance.....


Reply With Quote
