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

Connect after stopTransceiving #6

Open
wants to merge 1 commit into
base: swift1p2
Choose a base branch
from
Open

Connect after stopTransceiving #6

wants to merge 1 commit into from

Conversation

CodeEagle
Copy link

add support for connect not just once
I found out that PeerKit just can only run PeerKit.transceive(somename) once,
when you run
PeerKit.transceive(othername)
after
PeerKit.stopTransceiving()
PeerKit stop working

@alexanderjarvis
Copy link
Contributor

This is not necessary if you create a new transceiver for start() e.g.

PeerKit.transceiver = Transceiver(displayName: name)
PeerKit.transceive("appname")

Maybe this should be done inside the PeerKit function instead and this might be a cleaner fix.

@xiaomao155
Copy link

multipeer connectivity framework can detect in the background

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

Successfully merging this pull request may close these issues.

4 participants