• 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-is it crippled on the simulator?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iPhone] networking-is it crippled on the simulator?


  • Subject: Re: [iPhone] networking-is it crippled on the simulator?
  • From: "John C. Randolph" <email@hidden>
  • Date: Tue, 04 Aug 2009 06:04:14 -0700


On Aug 4, 2009, at 5:43 AM, James Lin wrote:

Hi all,

Does anyone know the limitation of the iPhone simulator when it comes to networking?
Is it crippled on the simulator?


I've tried two seperate ways of opening up a "server" socket.
1. is by opening up a CFSocket
2. is by a socket wrapper class called LXSocket class obtained from google codes.


but i've so far failed to obtain the "ip address" of the server socket.

the CFSocket method returned the ip address as "0.0.0.0"
the LXSocket class returned the ip address as a Null object.

I am wondering, if there is a limitation of some kind that's limiting the networking functionality on the simulator.

Does anyone know?

Safari works for me on the simulator, so it's got to have communications. Does the same code work if you load it on your phone?


-jcr
_______________________________________________

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


  • Follow-Ups:
    • Re: [iPhone] networking-is it crippled on the simulator?
      • From: James Lin <email@hidden>
References: 
 >[iPhone] networking-is it crippled on the simulator? (From: James Lin <email@hidden>)

  • Prev by Date: [iPhone] networking-is it crippled on the simulator?
  • Next by Date: Re: [iPhone] networking-is it crippled on the simulator?
  • Previous by thread: [iPhone] networking-is it crippled on the simulator?
  • Next by thread: Re: [iPhone] networking-is it crippled on the simulator?
  • Index(es):
    • Date
    • Thread