Ciao a tutti, sto creando una piccola app per android, e non capisco perchè la socket si blocca completamente!
codice:waitSocket = new ServerSocket( port );
connectionSocket = waitSocket.accept(); // SI BLOCCA
BufferedReader inFromClient = new BufferedReader( new InputStreamReader( connectionSocket.getInputStream() ) );
String notifica = inFromClient.readLine();
notifica = notifica.trim();