title: How to create peer-to-peer connection?
body: <p>After reading a bit more about how to create P2P networks function, I wanted to start my own <code>peer-to-peer</code> sockets creation.</p>
  
  <p>I'm working on some apps for the android platform and I have problem that I'm not quite sure how to approach, and both are closely related.</p>
  
  <ul>
  <li>How can I send a relatively small data file from one android device to another ( client to client ) ?</li>
  <li><p>Is it possible to create a <code>temporary p2p live data stream</code> from one android device to another ? </p>
  
  <p>i want to pass video, audio and image files from phone A's to phone B.</p></li>
  </ul>
  
  <p>I would much appreciate being pointed in the right direction on either issue (File transfer or real time data transfer) if possible give me any sample application on this.</p>