Open netgusto opened 7 years ago
Limit the number of handshakes to 1
Done.
When accepting the connexion check that the IP of the agent is the same as expected (docker inspect container after spawn)
Almost implemented, but it seems that the IP we get from docker when inspecting docker is not the same as the IP we get when the client connects via TCP (see https://github.com/ByteArena/bytearena/commit/83ff9605eb307c3529a9653533368d5478d7a41a#diff-dad2ba570e525aca0bb25b71cb24d234R302)
Shifted to not-now
.
Handshakes can be sent twice or more, and the server launches the game when the number of HS reaches the expected number of contestants.