Re: Can Peer-to-Peer Model Be Launched in AppStore?
Re: Can Peer-to-Peer Model Be Launched in AppStore?
- Subject: Re: Can Peer-to-Peer Model Be Launched in AppStore?
- From: Jens Alfke <email@hidden>
- Date: Sun, 21 Aug 2011 22:18:05 -0700
On Aug 21, 2011, at 9:27 PM, Bing Li wrote:
> On the iPad, I program with BSD socket to communicate with a cluster which is implemented with Java/Linux. The distributed model is based on the one of P2P.
Um, that’s about as vague a description as possible, but OK.
> I hope it could run on WiFi or 3G environment.
Be aware that you can’t receive incoming TCP connections over 3G. You may be able to open the listener socket, but the carrier’s network isn’t going to route any connection requests to you even if some other host can figure out your IP address.
Even on WiFi, receiving incoming connections from outside the LAN is … challenging. I’m not sure if the Bonjour library on iOS has the same port-mapping support that it does on OS X; if it does, that helps somewhat (if the base station/router is either an AirPort or supports UPNP).
—Jens_______________________________________________
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