Grazie per la risposta.

Se non ho capito male la struttura diventa

struct mymsg {
long mtype; /* message type */
int * vettore
}