if (msgsnd(que_id, ((int*)&frame)+1, frame.size(), 0) == -1)
throw std::runtime_error("Error al poner en la cola");
}
void Media::receive(Frame& frame)
{
if (msgsnd(que_id, ((int*)&frame)+1, frame.size(), 0) == -1)
throw std::runtime_error("Error al poner en la cola");
}
void Media::receive(Frame& frame)
{