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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T10:17:54+00:00 2026-06-02T10:17:54+00:00

I created a couple web services for my app as follows. 1. Allows a

  • 0

I created a couple web services for my app as follows.
1. Allows a host device to send its information to the web service and will store it in a sql database.
2. Allows a client device to see all nearby devices based on the information in the sql database.

I want the client to now be able to click one of the devices to connect to, which would then somehow link the two together. The question I have is right now my web services can only send a response to a device’s request. What I want is if the host device maybe presses a button, it will send that info to the web service, which will then send some information to the client who previously connected.

How can I accomplish sending information from a web service to a device that hasn’t requested anything?

Background info:
I am using a php based web service and ASIHTTPRequest to send and receive the information on the iphone side.

  • 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-02T10:17:56+00:00Added an answer on June 2, 2026 at 10:17 am

    In 99% of cases, you’re going to want to use polling. Think of any application that gets messages (email, Words with Friends, whatever). They all call the server and ask “are there any new messages for me?” You’ll have to figure out the right frequency for your application.

    In the rare case where you need near realtime communication, then you’ll need to setup your app to run as a server. See here: What classes do I use to make an iPhone act as a server?. Obviously the battery and bandwidth cost of this is much higher.

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

Sidebar

Related Questions

I have created a web service which has a couple of methods developed using
I created a proxy of a Web Service with Visual Studio 2008, and it
We are building a web service with WCF on .net 4.0. The service will
I have a service method with a couple of parameters that will be always
I have created a couple of java working sets for a project in my
couple days ago I've created spring webapp with scalate template endine. Everything worked great
I've created a search with a couple of comboboxes that allow users to filter
Created .NET WCF service, tested it - works. Generated schemas from Data and service
Created Private Key & Self signed certficate in a Key Store keytool -genkey -alias
First off, i'm fairly new to programming, I've built a few asmx web services

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.