Forcefully Freeing a Socket
Posted on 1998-09-24
In Solaris 2.5, I'm running an Oracle web listener.
If a client somewhere is using it, I want to be able
to forcefully terminate use of the socket, free the
socket, and restart the listener.
I can kill the listener, but cannot restart it since
Solaris thinks the socket is still in use. Even
though the listener has long since died,
issuing "netstat -a" gives:
LocalAddr RemoteAddr Swind Send-Q Rwind Recv-Q State
robkuo.9000 roboropc.2757 7964 0 8760 0 ESTABLISHED
How can I tell Solaris to FREE THAT SOCKET???