How to free a socket????
I recently ran a program...but abruptly stopped it using Cntrl + Z....Now the sockets i used in it (Internet domain sockets) were not free....When i again tried to run the same program it gave me error "Cant bind sockets".....I used netstat to check whether the socket is there...it was there with state CLOSED_WAIT...Now is there any command or way to clean/free/remove these unwanted sockets!!!!!!!!!!!
|