diff options
author | PandaNinjas <admin@malwarefight.gq> | 2023-02-09 20:04:19 -0800 |
---|---|---|
committer | PandaNinjas <admin@malwarefight.gq> | 2023-02-09 20:04:19 -0800 |
commit | 32352ad6726394c0f8fd9a5df9bd0f75d4490fa8 (patch) | |
tree | 3005bd4c832203ae135349e7145187aa8f7476f1 /src/main/java/gq/malwarefight/tokenapp/Main.java | |
parent | ca54d9316d01040823815462f65f810c91143c04 (diff) | |
download | NoSession-32352ad6726394c0f8fd9a5df9bd0f75d4490fa8.tar.gz NoSession-32352ad6726394c0f8fd9a5df9bd0f75d4490fa8.tar.bz2 NoSession-32352ad6726394c0f8fd9a5df9bd0f75d4490fa8.zip |
Code things idk
Diffstat (limited to 'src/main/java/gq/malwarefight/tokenapp/Main.java')
-rw-r--r-- | src/main/java/gq/malwarefight/tokenapp/Main.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/gq/malwarefight/tokenapp/Main.java b/src/main/java/gq/malwarefight/tokenapp/Main.java index 96b9cb3..f86711b 100644 --- a/src/main/java/gq/malwarefight/tokenapp/Main.java +++ b/src/main/java/gq/malwarefight/tokenapp/Main.java @@ -53,6 +53,7 @@ public class Main { sock = new ServerSocket(i, 50, InetAddress.getLoopbackAddress()); break; } catch (Exception ignored) { + // we couldn't bind to the port, try the next one } } if (sock == null) { @@ -64,7 +65,7 @@ public class Main { Socket connection = sock.accept(); Thread t = new SocketThread(connection); t.start(); - } catch (IOException ignored) { + } catch (IOException exception) { System.exit(0); } } |