Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I'm wondering if there's a way to forcibly terminate another program's socket and/or "unbind" it from a particular TCP/IP port on Win32.
For example, it really looks like program X is occupying port 110 locally (even though I told it not to). I need program X to do other things, so I can't just terminate program X in it's entirety, and the makers of program X are of no help whatsoever on this issue.
I need another program to use port 110, but obviously it won't work if program X is still bound to that port and is blocking all other attempts to use it...
Is there a way to do this programmatically through Perl or via some other means (other than a sledgehammer :) )?
Thanks,
Glenn
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: forcibly closing sockets/unbinding ports - win32
by McD (Chaplain) on Jun 08, 2003 at 21:08 UTC | |
|
Re: forcibly closing sockets/unbinding ports - win32
by waswas-fng (Curate) on Jun 09, 2003 at 10:43 UTC | |
|
Re: forcibly closing sockets/unbinding ports - win32
by true (Pilgrim) on Jun 09, 2003 at 07:28 UTC |