For knowledge I used it for a basic game: pong.
I put two players on the net with Photon.
This seems trivial; in reality the exchange of data is not fast enough to guarantee the transmission of the position of the ball in real time. We need to study some tricks.
Photon works, quite good. I think also for Apple, but I develop on Android.
The major flaw about me on Phong is that if a Client does not transmit its “ack” within about 2 or 3 seconds it is automatically disconnected.
But also the way to ‘go out’ gracefully is precisely that.
Often in my tests I happened to get out of the connection and re-enter too quickly with obvious connection problems. Even in the game, for example you have finished a game and you want to reconnect. Also all the other Client receives the ‘log out’ of Client 2 or 3 secs after the Client is logged out.
Personally I miss a synchronous service connection (for example deciding who is holding the points, when a point has been scored, which side of the field each one must occupy and so on), a kind of blackboard available to all players, but perhaps it’s me who didn’t find it.
I posted on the forum how to decide what Client will be the Master on the game.
The version for Solar2D is older than the new shiny release for Unit with many more features, some interesting.
That’s all folks!
Renato