diff options
Diffstat (limited to 'src/shared/settings.h')
-rw-r--r-- | src/shared/settings.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/shared/settings.h b/src/shared/settings.h new file mode 100644 index 0000000..c1c45c1 --- /dev/null +++ b/src/shared/settings.h @@ -0,0 +1,12 @@ +#ifndef _SETTINGS_H_ +#define _SETTINGS_H_ + +#define CLIENT_PORT 5194 +static const QString CLIENT_PORT_STR(QString::number(CLIENT_PORT)); +static const QByteArray CLIENT_PORT_ARRAY(QString::number(CLIENT_PORT).toUtf8()); + +#define SERVICE_DISCOVERY_PORT 3492 + +#define PING_TIMEOUT_MS 30000 + +#endif |