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 8535301
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:23:59+00:00 2026-06-11T10:23:59+00:00

Is it possible to build a socket connection between 2 iOS devices connected to

  • 0

Is it possible to build a socket connection between 2 iOS devices connected to the same network (Without net)?

if it’s possible .. Is (CocoaAsyncSocket project) useful for me?

I just want to send a message from Device A to Device B which put the app in background .. when Device B receive the message should show notification to return the app to foreground.

It’s not for the App Store, so I don’t care if Apple would reject the app because of this behavior.

  • 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-06-11T10:24:01+00:00Added an answer on June 11, 2026 at 10:24 am

    Yes, you can do it, and yes, CocoaAsyncSocket would be useful. If you don’t have to worry about the carrier network’s firewalls and filters, then you should certainly be able to build a client-server app running on two iOS devices. One opens the server socket to listen, and the other one (the client) connects, via the Wi-Fi network.

    Trying searching on Google (e.g. "CocoaAsyncSocket iPhone iOS site:stackoverflow.com") or directly here on Stack Overflow.

    Here’s somebody who seems to have accomplished this

    Another link

    And a post from Robbie Hanson himself, referring you to the EchoServer projects in the github repository

    EchoServer project

    You may have to use a static IP address for the server device (I’m not sure how much control you have over the Wi-Fi network’s configuration), or use some other mechanism for letting the two devices discover each other.

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

Sidebar

Related Questions

is possible build an iPhone project from Mac os x terminal and without an
Is it possible to build an iOS app that will get user's voicemails ?
I'm searching if it's possible to build the same Linux Kerneltwice (same sources, same
If I have 6 modules in my project is it possible to build only
Possible Duplicate: Build Eclipse Java Project from Command Line I want to compile my
Is it possible to build a hierarchical advanced data grid (or similar) without using
Possible Duplicate: Socket Thread and PyGTK i want to build a GUI chat application..
Is it possible to do remote procedural calls over socket.io in native iOS applications?
Is it possible to build balancer trees with several levels in mod_jk configuration? for
is it possible to build a jar file made up of all jar files

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.