title: Java - send an XML file over TCP/IP. is it possible?
body: <p>I am writing an application where one of the processes is to send data over tcp/ip. I was going to/have wrapped my data into an xml file, but here is my question(s):</p>
  
  <ol>
  <li><p>is it actually possible to send a xml file over as a whole or do i need to read it line by line?</p></li>
  <li><p>if so how would i go about it/which methods should i use?</p></li>
  </ol>