Closing a listener

Matt Small <[email protected]> Sat, 21 Dec 2002 14:48:25 -0800
Newsgroups gmane.network.beep.roadrunner.general
Message-ID <[email protected]>
I'm looking at shutting down a listener, and I'd like to shutdown all the
connections that it's received (and that are still open) at the same time.
Right now, I'm not keeping track of the connections anywhere; I noticed that the
listener maintains a GList connection, which I assume holds all the connections,
as well as a GList dead_connection, which holds the dead connections and is
flushed regularly.

If I was to iterate through the connection list, and close all of the individual
connections, will that cover all the connections that that listener had
received?  Is there a better, public-interface sort of way to do it?

Thanks,
Matt