I want to close a listening socket by its port number.
I have an application that should start a listening socket on a
predefined port. Instead of return "{badmatch,{error,eaddrinuse}}",
it should exit, or at least close the socket of, that process and
take its place.
Is it possible?
Thanks,
- Willem