Sign in to follow this  
nickname08

Mobile p2p networking framework

Recommended Posts

nickname08    122
Hi everyone, currently I'm planning to develop networking games for mobile platforms, I am trying to develop it as peer to peer since the environment in which they will wont require (or don't have) a central server, my question is is there any p2p networking framework out there that can run on real devices and that is easy to test on?(my main target platforms are j2me, android, windows mobile and maybe the iphone). Thanks for your help.

Share this post


Link to post
Share on other sites
hplus0603    11347
First, cell phones will often not want to accept incoming connections at all. They may not not have a publicly routable IP address at all, instead relying on the service provider to do NAT routing out to the Internet.

Second, most IP traffic from mobile phones goes through cell phone provider routers and translators, that may add up to several seconds of latency during high load situations -- at least that's what I've been able to figure out from looking at these kinds of problems in the past.

If you want multi-user cell phone games, I suggest you host a server somewhere on the Internet, and prepare yourself for dealing with very high latencies.

Share this post


Link to post
Share on other sites
nickname08    122
Quote:
Original post by hplus0603
First, cell phones will often not want to accept incoming connections at all. They may not not have a publicly routable IP address at all, instead relying on the service provider to do NAT routing out to the Internet.

Second, most IP traffic from mobile phones goes through cell phone provider routers and translators, that may add up to several seconds of latency during high load situations -- at least that's what I've been able to figure out from looking at these kinds of problems in the past.

If you want multi-user cell phone games, I suggest you host a server somewhere on the Internet, and prepare yourself for dealing with very high latencies.


Thanks for your reply, another alternative I see is to use ad-hoc networks... is there any way to use the mobile devices in ad-hoc fashion, or platforms that let this happen, I mean some framework that can let the devices work in ad-hoc network and deal with the communication issues (device discoverying, message routing, syncing)?

Thanks again.

Share this post


Link to post
Share on other sites
hplus0603    11347
In MIDP? Not that I know. The only portable device with solid ad-hoc networks I know of is the Nintendo DS.
Specific platforms, like the iPhone, or the NGage, may support that, but then likely through WiFi rather than the carrier network. Also, as WiMax comes online, that may be better supported in the future.
However, for now, you'd have to use device-specific APIs to access any such functionality.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this