title: Boost, sending files over the network using tcp, prefered method?
body: <p>In the boost examples in the documentation, tcp:iostream is used to very simply send streams over the network. In other examples write() is used to write data to the socket instead with a bit more code involved.</p>
  
  <p>What is the difference between those 2 methods? Pros and cons? Is there something else that should be used instead ?</p>