aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Burwell <bburwell1@gmail.com>2013-05-01 22:42:12 -0400
committerBen Burwell <bburwell1@gmail.com>2013-05-01 22:42:12 -0400
commit627c3a7cb176ffe4ffee5b9f92a9af7bb60f490a (patch)
tree11747121ea8f870a65fee4770137cda8289b04a7
parent79ed73cafa1d78087286277b3df8872c4989a64a (diff)
reset ports to default
-rw-r--r--localchat.c8
1 files 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
+}