Add game name to handshake and formalise handshake format

This commit is contained in:
mdiluzio 2015-01-03 20:04:31 +00:00
parent 61c012370d
commit 1785ce2fc0
5 changed files with 25 additions and 20 deletions

View file

@ -15,6 +15,8 @@
#include <stdio.h>
#include <stdlib.h>
#define TTRTS_HANDSHAKE_FORMAT "player %u name %s"
// Struct for net client info
struct ClientInfo
{