diff options
author | sr | 2013-02-04 19:50:31 +0100 |
---|---|---|
committer | sr | 2013-02-04 19:50:31 +0100 |
commit | 1a5709501f94014d41987b956338bb6424b9f90c (patch) | |
tree | d3b93fe8dc406bca56aff147ef5cc4cbf9ed6be0 /src/shared/settings.h | |
parent | Test (diff) | |
download | pvs2-1a5709501f94014d41987b956338bb6424b9f90c.tar.gz pvs2-1a5709501f94014d41987b956338bb6424b9f90c.tar.xz pvs2-1a5709501f94014d41987b956338bb6424b9f90c.zip |
Initial commit
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 |