title: Sending string data over TCP in visual c++
body: <p>I want to send some data in form of continuous strings from a visual c++ program to an android app via wifi. I'm trying to make a tcp server that sends the data continuously. What c++ library should I use for this which will be easy to use and won't require some library on the android side for decoding etc.? I have already coded the android client part that receives the strings (I used an existing server app to test it out). Here's the relevant part of the android code - </p>
  
  <pre><code>class ServerThread implements Runnable {
      @Override
      public void run() {
          Socket s = null;
  
          try {
              Log.d("TAG", "connecting to server");               
              s = new Socket("192.168.56.1", 1337);
              BufferedReader input = new BufferedReader(new InputStreamReader(s.getInputStream()));
              while(true){
                  String line = input.readLine();}
  </code></pre>