Reputation: 41
I'm using GKSession
in PEERMODE to establish multiple connections with different devices.
[I(denoted as Z) have 3 connections with A, B and C.]
(All with same session ID)
<-----> A
Z <-----> B
<-----> C
But I can't figure out how to terminate a particular connection with specific peerID like the following:
<-----> A
Z <--x--> B disconnect with B, but A & C remain connected
<-----> C
I've read the reference of GKSession
Class and do some search on web, but didn't find any useful information, can anyone help me with this?
Upvotes: 0
Views: 167
Reputation: 543
Did you try
- (void)disconnectPeerFromAllPeers:(NSString *)peerID
with peerID of B ? Regards!
Upvotes: 1