closing a listening socket by port number

Willem Broekema willem@REDACTED
Fri Nov 2 17:01:34 CET 2001

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?


- Willem

More information about the erlang-questions mailing list