>
>
> >> 3) As mentioned, the chat example maintains a list of connections.
> >> Connections (MessageInbound instances) are added to this list when
> >> connections are established.  However, they are never removed when the
> >> connection is closed, so the list grows.  The broadcast method silently
> >> ignores the IOException presumably caused by writing to these
> connections.
> >
> > Opps. We'll get that fixed.
>
> I don't see this in the code or when I test it. Could you explain the
> circumstances in which this happens please?


Wups, I am wrong on this.  I was looking at a modified example of Chat, and
when I went back and looked at the original version, the call to remove was
there in the onClose method.  It is still silently ignoring the exception
caught in broadcast() however.

MR

>

Reply via email to