Just cast the enum to a quint32 and send that through the network. If your using that enum constantly, then you might want to investigate more to determine the minimum and maximum values, but you would then have to ensure that it doesn't overflow in the future, so quint32 would be a better option.