Right now there is no "real" P2P possible on Android using the official SDK APIs.
In case of Wifi there is no support of Ad-Hoc. You could try to use a multicast approach where you try first to discover which devices are in the WLAN. Problem with multicast/broadcast on Wifi is that your network performance gets impacted very fast when you add the number of clients in the network. Also the type of traffic in the WLAN influences the throughput. If you think about using a central server then I would not all your setup "P2P" anymore. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Sep 24, 4:48 pm, Dan Sherman <impact...@gmail.com> wrote: > Put a server between them, and have each of them talk to the server. > > NAT punchthrough and such isn't easy, and to be honest, with a game, you > want some sort of central system to make sure everything is legit > (anti-cheating) :) > > - Dan > > On Thu, Sep 24, 2009 at 5:21 PM, Silver <sunsilverdra...@gmail.com> wrote: > > > Hello all, > > > I'm with a group of college students making a multiplayer game as a > > class project on the Android platform for the G1. Our primary goal is > > to allow multiple phones (or for the sake of initial testing, a phone > > and an emulator on a PC) to communicate with one another. Our game is > > turn based, and we've been looking into TCP/IP and VNC proxy servers > > to transfer data between the game clients on each phone, but none of > > them seem particularly simple to implement. We've been through many > > articles documenting how difficult peer-to-peer connections are on the > > Android platform. > > > What would some viable network protocols to use for the sake of our > > project and how should we go about setting them up? > > > Thanks, > > S > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---