On Wed, May 30, 2007 at 04:19:16PM +0200, Tomas Groth wrote:

> > > This breaks lulu.tv support. Why not return true?
> > 
> > We should only return true if we connected, if we didn't why returning true
> > ??
> > 
> Because we are connected, and therefore ready to pass data to whomever wants
> it.
> Returning false makes NetStream think that we're not connected.

What about adding an isConnected() member to NetConnection ?
Consider:

        nc = new NetConnection();
        if ( nc.connect(here) ) { ... }
        if ( nc.connect(there) ) { ... }

returning true from the second, while still connected to "here" 
is just bogus IMHO.

--strk;


_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit

Reply via email to