Thanks


On 6/9/06, Niklas Therning <[EMAIL PROTECTED]> wrote:
Kaj Bjurman wrote:
> ..
>
>
> I would not like to halt the server. That is, the server should reject
> new connections, but existing connections/sessions should still be
> valid.
>
> How is that done? I would simply stop calling accept if I were using
> plain sockets.

I can think of two solutions: You could unbind() the service or you
could implement a filter which immediately closes new sessions. Just add
the filter to the filter chain when you want to prevent new connections.
I guess unbind() will be closer to what you would do with plain sockets.

HTH

/Niklas

Reply via email to