Android P2P (direct-connection) over the Internet (behind NAT)

前端 未结 3 987
轮回少年
轮回少年 2020-12-08 03:00

I\'m starting a small project, basically a multiplayer (as in more than two players) variation of the classic Battleship game.

One problem that I\'m trying to resolv

3条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-08 03:21

    use xmpp via smack over gtalk. You don't have to worry about server and single point of failure. let google worry about that! I have written Tetris to make it play against two player using gtalk as a communication layer. http://code.google.com/p/tetrads-drop-lite/ You can try MUC if you want more player.

提交回复
热议问题