QString userFromMask(QString mask);
QString hostFromMask(QString mask);
+bool isChannelName(QString str);
+
/**
* Writes a QVariant to a device. The data item is prefixed with the resulting blocksize,
* so the corresponding function readDataFromDevice() can check if enough data is available