How do I close a started listener (with diam.ListenAndServe()) so that the local port can be reused?
Using SCTP I tried to close the listener returned by MultistreamListen but it seems that SCTPListener.Accept does not return upon that.
I don't want to exit the entire application.
How do I close a started listener (with
diam.ListenAndServe()
) so that the local port can be reused? Using SCTP I tried to close the listener returned byMultistreamListen
but it seems thatSCTPListener.Accept
does not return upon that. I don't want to exit the entire application.