Add: PING PONG TCP

This commit is contained in:
rubenpirreram
2026-05-07 18:09:39 +02:00
parent 68be878ef1
commit 7757b38155
10 changed files with 388 additions and 160 deletions
@@ -88,7 +88,7 @@ public class ClientLauncherTUI {
// TCP
} else if (networkType == 1) {
// Connect
TCPClient client = new TCPClient(controller, IP, 8080);
TCPClient client = new TCPClient(controller, IP, 8080,8081);
if (client.connect(username, proposedNumPlayers)) {
System.out.println("Succesfully connected to TCP server\n\n");
} else {