title: Socket does not receive any data
body: <p>I have a C# Server and this Java client in Android Studio:</p>
  
  <pre><code>@Override
      public void run() {
  
          try {
              Socket socket = new Socket("192.168.0.107", 7778);
              BufferedReader inFromServer = new BufferedReader(new InputStreamReader(socket.getInputStream()));
  
              while (true) {
                  currentMessage = inFromServer.readLine();
                  System.out.println(currentMessage);
  
                  Thread.sleep(200);
              }
          }
          catch(Exception e) {
              System.out.print("Error: " + e.toString() + "\n");
          }
      }
  </code></pre>
  
  <p>I have tested the Server with Telnet and the messages a going out as they should, so im almost certain, that the problem somewhere in the client code.
  I have also tried using a DataInputStream instead of a BufferedReader, but it gives me the same results. Also I don't get any Exeptions.</p>
  
  <p>I have these Permissions in my AndroidManifest.xml:</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
  &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  </code></pre>