2

I'm trying to make a simple app using network. For instance, a tic tac toe multiplayers game. I've read many things but I don't know which is the best. At the beginning, I thought one player makes a server, and other player can connect to the first one over wifi or via internet.

I found these solutions: - Multicast => only for the local network (wifi) - XNA => Only via Xbox live ? - WCF => I never use web services and I don't really know how it works

I want to use an interoperable solution whether I decide to make an Android version.

So, which way or technology should I use ?

4

1 回答 1

3

对于这种类型的通信,您应该使用Push Notifications。使用这些通知,您可以让您的游戏将移动发送到您的服务器,然后您的服务器发送通知,该通知通过推送服务发送给其他用户。

于 2012-12-14T19:45:24.367 回答