Connect your iPhone device to your device via Wi-Fi

I have a requirement how, One iPhone Device acts as a server, and several iPhone devices act as clients. I have to transfer client devices to the server device via Wi-Fi. How can i achieve this. It would be helpful if you could provide some kind of tutorial. Thanks at Advance ..

0
source share
3 answers

you are watching GKSession .. and this is an excellent and comprehensive guide to what you are looking for. IF you want to dive a little deeper into this project that I did.

the link in the above comment uses bonjour , that the layer is below GKSession (that is, GKSession is the shell for bonjour) .. so depending on how many devices you want to connect at the same time (GKSession starts to choke about 3-4) and how extensive are your bandwidth / ping requirements, you would choose one or the other.

0
source

Take a look at the Game Kit class. The Game Kit provides classes that implement a low-level network infrastructure that allows devices to communicate in real time.

https://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/GameKit_Guide/Introduction/Introduction.html

0
source

Source: https://habr.com/ru/post/1682015/


All Articles