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

  • Home
  • SEARCH
  • 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 3438026
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T08:08:13+00:00 2026-05-18T08:08:13+00:00

What would be the best method to achieve realtime device to device communication within

  • 0

What would be the best method to achieve realtime device to device communication within an application? I’ve been experimenting with the Apple Push Notification Service but find it spotty at best for realtime messaging. Is there a way to utilize sockets for this or am I just stuck into using the APNS?

  • 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-18T08:08:14+00:00Added an answer on May 18, 2026 at 8:08 am

    If you are a beginner, use GameKit.

    When you get sick of that, use AsyncSocket.

    GameKit is so simple a child can use it; AsyncSocket is probably the most beautiful library in all of networking on any platforms – incredibly easy to use.

    In both cases, you will first use Bonjour (two lines of code) to “find” the other device.

    Here is the full explanation…
    Tablet(iPad/Android)-Server Communication Protocol

    Critical secret knowledge about GK you will need…
    Client/Server GKSessions

    Another quick summary …
    Most effective way to do networking on Mac/iPhone?

    For the record, APNS has absolutely nothing whatsoever to do with what you are trying to achieve! Utterly forget about APNS.

    WHAT IS THE RADIUS? ———————–***

    Please note that BLUETOOTH ONLY WORKS over about twenty feet. (Ten meters.)

    Please note that for a local WiFi connection, you must both be connected to the same local WiFi hub. WiFi hubs have a range of perhaps 20 meters only, say one house and the next house only (depending on how thick the walls are).

    Please note that: IT IS NOT PHYSICALLY POSSIBLE TO CONNECT TWO COMPUTERS (OF ANY TYPE) OVER A COUPLE OF MILES.

    There is no such networking device. (You could perhaps build one using say “ham radio” but to be clear it would be a completely novel, new research project that would take a large company years to complete.)

    There is absolutely nothing that works like that – I’m sorry to tell you the bad news.

    The ONLY two possibilties are Bluetooth and WiFi, and they work only over about 20 and 30 feet respectively.

    So how do you connect two remote computers like that? The answer is, via the internet.

    The only way to do it is with an internet connection. There is no ‘direct’ connection possible with any existing technology.

    If you need to know more about how to connect two computers (say two iPhones) using the internet, you will probably have to ask a new question! You will be pleased to know it is very easy and will cause you little trouble.

    Note that both iPhones MUST have a good solid internet connection. If they are more than say 30 feet away from each other, the ONLY way to connect to iPhones is via the internet. THey must each have a good internet connection, or there is no possibility.

    I hope this helps clarify things!

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

Sidebar

Related Questions

I would like to know if what the best method is for creating a
When requesting hardware for a WebLogic server, what hardware would best improve its performance?
I have the following situation I think would be best to show in sample
In Java, what would the best way be to have a constantly listening port
I was looking at WF and was wondering if it would be best to
What would be the best way to have a list of items with a
What would be the best way to fill a C# struct from a byte[]
What would be the best version control system to learn as a beginner to
What would be the best algorithm for finding a number that occurs only once
What would be the best way to implement a simple crash / error reporting

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.