# Have two iPads talk to each other

**URL:** <https://forum.xojo.com/t/have-two-ipads-talk-to-each-other/79247>\
**Category:** iOS\
**Created:** [February 15, 2024, 8:04pm UTC](https://forum.xojo.com/t/have-two-ipads-talk-to-each-other/79247 "2024-02-15T20:04:26Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bob\_Gordon](https://forum.xojo.com/letter_avatar_proxy/v4/letter/b/898d66/32.png) [@Bob\_Gordon](https://forum.xojo.com/u/Bob_Gordon)\
**Post date:** [February 15, 2024, 8:04pm UTC](https://forum.xojo.com/t/have-two-ipads-talk-to-each-other/79247/1 "2024-02-15T20:04:26Z")

</div>

I’ve written a little iPad app for a neighborhood organization. The main purpose is to collect email addresses from people who attend events.

Assume we have two iPads in use. Is it possible to have them talk to each other? The idea is to merge the data collected into one file.

The problem is that we can’t assume wifi will be available. So, a better way to ask this question: Can we have two iPads talk to each other apart from a network?

---

<div class="post-metadata">

**Author:** ![Jeff\_Tullin](https://forum.xojo.com/user_avatar/forum.xojo.com/jeff_tullin/32/693_2.png) [@Jeff\_Tullin](https://forum.xojo.com/u/Jeff_Tullin)\
**Post date:** [February 15, 2024, 9:52pm UTC](https://forum.xojo.com/t/have-two-ipads-talk-to-each-other/79247/2 "2024-02-15T21:52:37Z")

</div>

You could do worse than have them email ‘today data’ to a known email address in csv form and handle it manually later. (maybe encrypt it on the way if you are feeling security concious)

If you have no wifi, you cant get them talking live.  
If you do have wifi, they can both push updates into a server-side database.

---

<div class="post-metadata">

**Author:** ![Greg\_O](https://forum.xojo.com/user_avatar/forum.xojo.com/greg_o/32/22785_2.png) [@Greg\_O](https://forum.xojo.com/u/Greg_O)\
**Post date:** [February 17, 2024, 1:57pm UTC](https://forum.xojo.com/t/have-two-ipads-talk-to-each-other/79247/3 "2024-02-17T13:57:18Z")

</div>

I made a set of classes and frameworks for this a while ago which are available for sale on xojos extras. It uses WiFi and/or Bluetooth on iOS.

For more info:

[https://www.stretchedout.com/yaxew/products/multipeer.html](https://www.stretchedout.com/yaxew/products/multipeer.html)

---

<div class="post-metadata">

**Author:** ![Mariano\_Poli](https://forum.xojo.com/user_avatar/forum.xojo.com/mariano_poli/32/340_2.png) [@Mariano\_Poli](https://forum.xojo.com/u/Mariano_Poli)\
**Post date:** [February 17, 2024, 5:26pm UTC](https://forum.xojo.com/t/have-two-ipads-talk-to-each-other/79247/4 "2024-02-17T17:26:32Z")

</div>

@Greg_O is possible to think on doing something similar but to connect not only MacOS devices with iOS devices, but also combine with Win and Androide devices all together ??

---

<div class="post-metadata">

**Author:** ![Greg\_O](https://forum.xojo.com/user_avatar/forum.xojo.com/greg_o/32/22785_2.png) [@Greg\_O](https://forum.xojo.com/u/Greg_O)\
**Post date:** [February 17, 2024, 6:12pm UTC](https://forum.xojo.com/t/have-two-ipads-talk-to-each-other/79247/5 "2024-02-17T18:12:58Z")

</div>

The framework I used is built into macOS and iOS. I just created the things necessary to expose it.

---

<div class="post-metadata">

**Author:** ![Mariano\_Poli](https://forum.xojo.com/user_avatar/forum.xojo.com/mariano_poli/32/340_2.png) [@Mariano\_Poli](https://forum.xojo.com/u/Mariano_Poli)\
**Post date:** [February 17, 2024, 7:15pm UTC](https://forum.xojo.com/t/have-two-ipads-talk-to-each-other/79247/6 "2024-02-17T19:15:41Z")

</div>

Sorry, I didn’t understand your answer @Greg_O . May be because of my limited english. I do noticed that you had created a solution for the Apple environmemt. What I am asking if you beleive possible to integrate also Android and Win devices to work all toghether in a single network sharing files under an unique Xojo solution

---

<div class="post-metadata">

**Author:** ![AlbertoD](https://forum.xojo.com/letter_avatar_proxy/v4/letter/a/dbc845/32.png) [@AlbertoD](https://forum.xojo.com/u/AlbertoD)\
**Post date:** [February 17, 2024, 7:35pm UTC](https://forum.xojo.com/t/have-two-ipads-talk-to-each-other/79247/7 "2024-02-17T19:35:36Z")

</div>

> [@Mariano\_Poli](#):
>
> I do noticed that you had created a solution for the Apple environmemt.

> [@Greg\_O](#):
>
> The framework I used is built into macOS and iOS.

He said that he used something that comes with macOS and iOS, so not possible to use it with Android/Windows as those do not come with it.

A complete different solution needs to be created to handle what you need.

---

<div class="post-metadata">

**Author:** ![Christian\_Schmitz](https://forum.xojo.com/user_avatar/forum.xojo.com/christian_schmitz/32/158_2.png) [@Christian\_Schmitz](https://forum.xojo.com/u/Christian_Schmitz)\
**Post date:** [February 17, 2024, 10:01pm UTC](https://forum.xojo.com/t/have-two-ipads-talk-to-each-other/79247/8 "2024-02-17T22:01:57Z")

</div>

You basically use sockets. A server socket on one side and the other connects to it.

See the blog post here  
[Using Bonjour to find iOS companion app](https://www.mbsplugins.de/archive/2023-05-20/Using_Bonjour_to_find_iOS_comp/monkeybreadsoftware_blog_xojo)

In MBS Plugins we have DNS classes for macOS, iOS, windows and Linux.
