[iPhone] networking-is it crippled on the simulator?
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? Thank you... James ___ 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
Re: [iPhone] networking-is it crippled on the simulator?
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
Re: [iPhone] networking-is it crippled on the simulator?
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
Re: [iPhone] networking-is it crippled on the simulator?
it is not crippled On Aug 4, 2009, at 9:48 PM, James Lin wrote: 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/rols%40rols.org This email sent to r...@rols.org ___ 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
Re: [iPhone] networking-is it crippled on the simulator?
Networking should work on the simulator. There are several networking related pieces of sample code that work on the simulator. http://developer.apple.com/iphone/library/navigation/SampleCode.html Luke On Aug 4, 2009, at 6:48 AM, James Lin wrote: 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/luketheh%40apple.com This email sent to luket...@apple.com ___ 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
Re: [iPhone] networking-is it crippled on the simulator?
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. By server socket, do you mean you are trying to connect to a server somewhere, or that you are trying to open a low numbered (i.e. 1024) port locally so that you can be a server? The simulator cannot open low numbered ports for inbound connections but iPhones running OS 3.0 and later can. Dave ___ 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