Per la sizeof va bene ... ma la struct no ... dovrebbe essere
codice:typedef struct { char type; unsigned int length; char buffer[10]; } message_t;
Per la sizeof va bene ... ma la struct no ... dovrebbe essere
codice:typedef struct { char type; unsigned int length; char buffer[10]; } message_t;