Safari works for me too...
The reason I am asking this seemingly redundant question is simply :
I don't have an iPhone yet (3GS won't be available in my country until end of Aug)
and I am doing all my programming "blind" on the simulator.

if networking is crippled on the simulator, that means my development work has to take a break until
I get my hands on an actual iPhone..

Does anyone know?

Thank you in advance...

James


On 2009/8/4, at 下午 9:04, John C. Randolph wrote:


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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to