In iOS, is Gamekitframework faster than the multipeerconnectivity structure when sending messages?

Using both frameworks, can we send session.peers messages using bluetooth?

I use the multipeerconnectivity structure to send messages to my peers, but usually between a 1.4 second delay between sending a message and receiving.

+7
ios bluetooth gamekit multipeer-connectivity
source share
1 answer

I recently did not work with GameKit, but switched to Multipeerconnectivity some time ago, since I needed only the peer-to-peer connection aspect for my Race by Hearts application

However, in my experience in this framework, I have never seen delays like the ones you mention. It has always been very fast.

Did you encounter some threading issues? Is something blocking your main thread, delaying the effect of incoming data? Do you use reliable or unreliable delivery? Or maybe streaming?

0
source share

All Articles