From 627c3a7cb176ffe4ffee5b9f92a9af7bb60f490a Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Wed, 1 May 2013 22:42:12 -0400 Subject: reset ports to default --- localchat.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/localchat.c b/localchat.c index 099f1db..32a8407 100644 --- a/localchat.c +++ b/localchat.c @@ -22,8 +22,8 @@ // define constants #define DEBUG 0 #define MAX_NUM_PEERS 100 -#define CMD_PORT 6063 -#define CHAT_PORT 6064 +#define CMD_PORT 6060 +#define CHAT_PORT 6061 #define BROADCAST_IP "192.168.130.255" #define GLOBAL_MSG_LENGTH 1024 #define REQUEST_TIMEOUT 5 @@ -77,7 +77,7 @@ time_t chat_requested_time; #include "user_command.h" int main(int argc, char const *argv[]) { - + if (argc != 2) { printf("Usage: %s [username]\n", argv[0]); return -1; @@ -121,4 +121,4 @@ int main(int argc, char const *argv[]) { } return 0; -} \ No newline at end of file +} -- cgit v1.2.3