package stud.mi.dachatserver;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class Application {

	public static void main(String[] args) {
		// new Thread(() -> {
		// Server s = new Server(1234);
		// s.start();
		// }).start();
		SpringApplication.run(Application.class, args);
	}

}

@@ -150,16 +150,66 @@
 ion;%0D%0A%0D%0A
+import stud.mi.dachatserver.chatserver.Server;%0D%0A%0D%0A
 @SpringB
@@ -299,19 +299,16 @@
 s) %7B%0D%0A%09%09
-// 
 new Thre
@@ -314,22 +314,70 @@
 ead(
-() -%3E
+new Runnable() %7B%0D%0A%0D%0A%09%09%09@Override%0D%0A%09%09%09public void run()
  %7B%0D%0A%09%09
-// 
+%09%09
 Serv
@@ -404,19 +404,18 @@
 34);%0D%0A%09%09
-// 
+%09%09
 s.start(
@@ -424,11 +424,16 @@
 %0D%0A%09%09
-// 
+%09%7D%0D%0A%0D%0A%09%09
 %7D).s

enable serversocket