• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [iPhone] networking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iPhone] networking


  • Subject: Re: [iPhone] networking
  • From: James Lin <email@hidden>
  • Date: Thu, 6 Aug 2009 16:40:10 +0800

Can you please elaborate a bit more?

What technology option do I have when it comes to a "messaging server"?
What's involved on the iPhone's side?

Thank you in advance...

James

On 2009/8/6, at 下午 4:33, Keith Duncan wrote:


On 6 Aug 2009, at 09:27, James Lin wrote:

[...]

keeps querrying the php/mysql server for message left for it with a querry to php/mysql server inside a NSTimer (say querry once every 30 seconds).

[...]

Is this my best option given what I want to accomplish?


I'm afraid it isn't, polling a server is a pretty bad idea, on the iPhone in particular; it will drain the battery quickly. It sounds like you need some kind of messaging server, to which the clients maintain a persistent connection.

Keith

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >[iPhone] networking-is it crippled on the simulator? (From: James Lin <email@hidden>)
 >Re: [iPhone] networking-is it crippled on the simulator? (From: Dave Camp <email@hidden>)
 >Re: [iPhone] networking (From: James Lin <email@hidden>)
 >Re: [iPhone] networking (From: glenn andreas <email@hidden>)
 >Re: [iPhone] networking (From: James Lin <email@hidden>)
 >Re: [iPhone] networking (From: Luke the Hiesterman <email@hidden>)
 >Re: [iPhone] networking (From: James Lin <email@hidden>)
 >Re: [iPhone] networking (From: Roland King <email@hidden>)
 >Re: [iPhone] networking (From: James Lin <email@hidden>)
 >Re: [iPhone] networking (From: Keith Duncan <email@hidden>)

  • Prev by Date: Re: [iPhone] networking
  • Next by Date: Re: Bonjour over WAN
  • Previous by thread: Re: [iPhone] networking
  • Next by thread: Re: [iPhone] networking
  • Index(es):
    • Date
    • Thread