I am trying to handle a signal(if it exists/is sent) when an application's controlling terminal's network cable is pulled out. I tried with these signals, but I guess they aren't:
SIGHUP
SIGINT
SIGTERM
I guess in such a case, the server treats the termianl(who's cable was pulled out) just to be in an inactive state. Please suggest.