d@r
05-27-2003, 10:46 PM
I ran a program who bound to a cetain port, then called "listen" and then "accpet".
Then I had close that process using "kill".
The problem is that now whenever I try to bind to that port I get the error "address already in use".
(even though I called setsockopt with REUSEADDR)
When I run netstat i see a line telling saying this port is listening.
How can I release it?
(unfortunately, rebooting is not an option)
Then I had close that process using "kill".
The problem is that now whenever I try to bind to that port I get the error "address already in use".
(even though I called setsockopt with REUSEADDR)
When I run netstat i see a line telling saying this port is listening.
How can I release it?
(unfortunately, rebooting is not an option)