Socket options

Hi everyone,

Question for gurus:

Is there a way for us to determine the options used by a socket?

I basically want to know if SO_KEEPALIVE is enabled on a socket to know if the tcp_keepalive_abort_interval parameter will be used by that connection.

Was I clear enough? :confused:

---------- Post updated at 03:50 PM ---------- Previous update was at 02:52 PM ----------

Found it ...

lsof -i -Tf

Another undocumented switch