init commit

This commit is contained in:
Bas de Jong
2025-09-09 13:26:23 +02:00
commit c63a02b3dd
10 changed files with 175 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
package org.toop;
public class Client {
}

View File

@@ -0,0 +1,7 @@
package org.toop;
public class Main {
public static void main(String[] args) {
Server server = new Server("0.0.0.0", "5000");
}
}

View File

@@ -0,0 +1,29 @@
package org.toop;
public class Server {
String ip;
String port;
public Server(String set_ip, String set_port) {
ip = set_ip;
port = set_port;
}
public String getIp() {
return ip;
}
public void setIp(String ip) {
this.ip = ip;
}
public String getPort() {
return port;
}
public void setPort(String port) {
this.port = port;
}
}