@Jerico : Thanks for the URL
i have succeded the main part without specs but it will help me to clean my API
@GEKKO, why opening incoming ports ? The client (PC,iPhone etc) establishes the TCP connection TO the server (outcoming). Only broadcasting in UDP from the server could require to open ports on each clients. But i prefer to "broadcast" manually via TCP to already opened sockets (which is an outcoming connection or incoming but already established)
I have tried to communicate with my server on the internet behind ma DSL Router (none of my devices are declared as DMZ) and my PCs, my Mac, my iPhone, my Android Tablets are all connecting, receiving, and sending without any problem at the same time with a 50ms Latency (i can reduce but, as said in the AppGameKit documentation it's not really necessary