aboutsummaryrefslogtreecommitdiff
path: root/localchat.c
diff options
context:
space:
mode:
authorBen Burwell <bburwell1@gmail.com>2013-05-01 17:23:15 -0400
committerBen Burwell <bburwell1@gmail.com>2013-05-01 17:23:15 -0400
commit0618afcfe7b12abf36b7bcc067baf6dd054489ae (patch)
tree36091e5676acd6df92b9590764a856a16e2424fd /localchat.c
parenta62c541dd233da2d2bd178f38aaf474032dc6add (diff)
Adds RR functionality
Diffstat (limited to 'localchat.c')
-rw-r--r--localchat.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/localchat.c b/localchat.c
index ddc73e1..226432f 100644
--- a/localchat.c
+++ b/localchat.c
@@ -22,10 +22,13 @@
// define constants
#define DEBUG 0
#define MAX_NUM_PEERS 100
-#define CMD_PORT 6064
-#define CHAT_PORT 6065
+#define CMD_PORT 6060
+#define CHAT_PORT 6061
#define BROADCAST_IP "192.168.130.255"
#define GLOBAL_MSG_LENGTH 1024
+#define REQUEST_TIMEOUT 10
+#define SESSION_TIMEOUT 30
+#define RR 0
// structs
#include "peer.h"