muellmusik / Utopia

This is an attempt at a generic library of tools for making Network Music Apps in SuperCollider
43 stars 8 forks source link

when a user has no name, it deadlocks the network #15

Open telephon opened 8 years ago

telephon commented 8 years ago

where two computers have the same name, or nil, there is a constant flow of messages:

Peer nil rejoined the Utopia

telephon commented 8 years ago

Somewhere in

add {|peer|
        peer = peer.as(Peer);
        dict[peer.name] = peer;
        peer.addDependant(this);
        this.changed(\add, peer)
    }

we may have to check if it is duplicate with ref to IP address

muellmusik commented 8 years ago

Yes, I think that's sensible. Probably it should just use a kind of filename increment scheme (e.g. telephon-2) and post a warning.

telephon commented 8 years ago

Yes, if it warns once, this would be enough.