Re: Closing a listener

Matt Small <[email protected]> Sat, 28 Dec 2002 23:47:35 -0800
Newsgroups gmane.network.beep.roadrunner.general
Message-ID <[email protected]>
Jonas,

No problem.  I that's exactly what I'm looking for; thanks for getting it in
there so quickly.

-matt

> Hi,
> 
> sorry for the late reply...
> 
> http://afs.codefactory.se/~jonas/roadrunner/disconnect.diff
> 
> The patch above implements two functions.
> 
> * rr_listener_disconnect_all (listener, error): This function disconnects all 
>   active connections for the given listener (note: new peers can still connect 
>   afterwards).
> 
> * rr_listener_shutdown (listener, error): disconnects all active connections and
>   stops listening for new connections. The listener object is also unref:ed.
> 
> Is this what you are looking for?
> 
> I will apply the patch to the cvs repository after I have done further testing.
> 
> / Jonas
> -- 
> Jonas Borgström                  [email protected]
> CodeFactory AB                   http://www.codefactory.se/
> Office: +46 (0)90 71 86 14
> _______________________________________________
> Roadrunner mailing list
> [email protected]
> http://lists.codefactory.se/mailman/listinfo/roadrunner