Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1085923
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T22:44:58+00:00 2026-05-16T22:44:58+00:00

If I am developing an iPad app (the Server) which needs to communicate with

  • 0

If I am developing an iPad app (the “Server”) which needs to communicate with up to 4 iPhone/iPod Touches (the Clients) how can I manage this?
The two apps will be separate. Should I create 4 GKSessions for each of the iPhones? Should I have 1 GKSession which connects all 5 devices, and if I do, will each iPhone be able to “see” the others (Ideally, this shouldn’t happen as it will keep things simple)? The apps will together be a bit like the Scrabble app for iPad (not in functionality, but in idea). How should I manage this?

Thanks in advance, and please comment if you need more information.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T22:44:59+00:00Added an answer on May 16, 2026 at 10:44 pm

    You should create a single session on the iPad, advertise it as a Server, and look for that session from each iPhone in client mode. The iPad should keep an array that has each peerID that is connected to it, most likely connected to or as part of some kind of array of controller or player objects. Since each iPhone is set to be a client, they only will be able to see the server session being advertised by the iPad, not the client signals coming from the other iPads.

    If you want an iPhone to be able to signal another iPhone, you can pass out the array of peerIDs to each iPhone through some kind of messaging object, which will allow any particular iPhone to send a message directly to another iPhone.

    I’m doing something similar with 1 or 2 iPads and up to 10 iPhones or iPad touches. With 2 iPads the game board gets expanded, and it allows more than 5 players.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are developing an iPad app for which I am trying to use sharekit
this is my first ever question. I am developing a iPad app that allows
I am developing an ipad app with openGL. In my app basically I am
I am developing an iPad application which is basically a big drawing canvas with
Developing a .NET WinForms application: how can I check if the window is in
Developing server side code i finally got my eyes X-crossed trying to write -
When developing whether its Web or Desktop at which point should a developer switch
When developing a new web based application which version of html should you aim
Hey all. I have a fairly simple question. I am developing a rich iPad
I am developing a jQtouch app and each request done via ajax creates a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.