diff --git a/src/Driver.java b/src/Driver.java index d9b6fb7..71fb2fa 100755 --- a/src/Driver.java +++ b/src/Driver.java @@ -12,7 +12,7 @@ public class Driver { /** - * Text to prompt the user for input + * Text to prompt the user for input. */ public static final String TERMINAL_PROMPT = "Welcome!\n" + "1. Connect to a person\n" + diff --git a/src/com/P2PChat/networking/ConnectionManager.java b/src/com/P2PChat/networking/ConnectionManager.java index 06699f8..78cd6e9 100755 --- a/src/com/P2PChat/networking/ConnectionManager.java +++ b/src/com/P2PChat/networking/ConnectionManager.java @@ -33,7 +33,7 @@ public class ConnectionManager { /** * The maximum number of failed tries after we give up trying to connect */ - public static int maxNumTries = 10; + public static int maxNumTries = 15; /** * Get the current user's IP address.