i've written a short TCP-Server and TCP-Client in Java. Everthing worked fine while running the TCP-communication. Today I tried to implement my Server in an android-app and got problems with the serversocket.accept-method. Everytime the line with the method call serversocket.accept() is executed the systems breaks down.
Do I've to use threads to solve the problem. Or is there any other solution for this Problem?