Show differencesHistory of post edits
Posted 01 August 2012 - 08:04 PM
Posted 01 August 2012 - 08:03 PM
i'm using TCP
currintly im sending messages with structs
packet.p = a;
send(conn,(char const *)&packet,sizeof(packet),0);
Depending on how Player is defined that may not work. It would probably be better to use a marshalling/serialization library.