   Submit game-information with enet
  Hi,i am trying to transfer each gamecycle all game-information (ie positions of players and objects) to all clients. What is the smartest way to do this? I tried to put all the data into a struct called player (enet_packet_create ((char const *)&player, sizeof(player)...) but somehow didn´t get to cast the "event.packet -> data" back to the struct. The lowlevelway would be to have some char*-Package, where I put all the data in and send it. But on the side of the receiver I would have to go over the package to get the informations out (floats would have to be converted and so on).Can anybody tell me how that should be done?ThanksMichiganRedDevil   
  Start by reading the Forum FAQ. There may be things in there that you already know, but it contains answers to exactly this question, among others.