summaryrefslogtreecommitdiffstats
path: root/src/setup.h
blob: 1f058a9526b85456b71784d96c028a592e624fcc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _SETUP_H_
#define _SETUP_H_

#define SERVER_PORT "3490"  // the port users will be connecting to
#define SERVER_PORT_INT 3490  // the port users will be connecting to
#define VNC_PORT_STRING "59000"
#define VNC_PORT_INT    59000

#define SB_INTERVAL 7 // Broadcast interval in seconds
#define SD_PORT_CONSOLE 3491 // Not really used, Qt just wants a bind
#define SD_PORT_CLIENT 3492 // This is where we expect announcements

#define CLIENT_KEEPALIVE 5000 // Clients ping rate
#define CLIENT_TIMEOUT 15000 // Timeout to check if clients are alive
#define SERVER_KEEPALIVE 5000 // Server check rate
#define SERVER_TIMEOUT 15000 // Timeout to check if server is alive

#endif