PeerKit
PeerKit copied to clipboard
Connect after stopTransceiving
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
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.
multipeer connectivity framework can detect in the background