title: Reading XML stream.
body: <p>Could someone give me any hint how to do that?
  With the code below I can read the data, but I have no idea if I break the node or not.  </p>
  
  <pre><code>  for (;;) {
      bytes_received = recv ( socket_handle , input_buffer , 20000, 0 ) ;
      if ( bytes_received == -1 ) {
        printf ( "An error occured during the receive procedure \n" ) ;
        return 0 ;
      }
      if ( bytes_received == 0 ) break ;
      printf ( "%s" , input_buffer  ) ;
    }
  </code></pre>
  
  <p>Should I write it as file and use rather other language to process it?
  Or can I save it in RAM and process from there?
  Is it reasonable to do it with c?</p>