Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid Addition of Peer on "Signaler::onPeerConnected" , other than direct connection. #248

Open
traw opened this issue Aug 16, 2018 · 0 comments

Comments

@traw
Copy link

traw commented Aug 16, 2018

Method Signaler::onPeerConnected, receives event when new peer is added. How can we avoid peer add event if peer is not which was requested by _client.connect();.
For example: there is one server S and two client C1 and C2.
When C1 make connection with S. It receive event of connection with S and C2 in Signaler::onPeerConnected method. My question is, how to filter out C2 connection event in Signaler::onPeerConnected?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant