Can i store the peer in some kind of array when someone connects to the server (when peer connects to server)
becasue when client connects i can only access the poitner of that peer per one frame
while (enet_host_service (srv->server, & event, 0) > 0)
{
if (event.type == ENET_EVENT_TYPE_CONNECT)
{
now event.peer is a pointer to ENetPeer
and i am not sure if that will get destoryed or i can store that pointer in the array for further things.
(i need to store the peer list so server can send data to all connected clients)