Hi there. I'm building a prototype game that is just a personal project. It will not be commercial.
I will have multiple android 2.2+ clients that will partake in a game with shared state. Very often (every couple of seconds or less), the game state will have to be pushed to all of the clients. Instead of each client maintaining a persisted TCP/IP connection,I was wondering if C2DM would help me? When client 'A' does something that will update the game state that needs to be shared with all of the clients, C2DM can send a message to the clients telling them to contact the game server for game state updates. Within the context of a client 'A', performing an action (and sending a notification to the server) that updates the global game state that the server then needs to share with the other clients, I have 3 questions: Is C2DM feasible within a gaming environment? Is there another architectural solution that will work in a gaming environment, that will allow the server to send game state updates directly to clients without persistent TCP/IP connections or C2DM? Is a socket connection the only way for a server to maintain a direct communication channel with the client? Thanks for your advice -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

