title: How to USE Wi-Fi Direct/P2P for file transfers
body: <p>I'm exploring Wi-Fi Direct/P2P for a project. We need to be able to transfer files from one device to another in an ad-hoc wifi environment. This is on Ubuntu Linux. I've been able to configure a couple devices to connect to each other. Now what?</p>
  
  <p>I can't find much on the "now what" part of this. Do I have to write a custom protocol (like bonjour or upnp) to transfer my data? It seems I'm missing most of the IP stack that I would be relying on (everything above physical link layer, it seems). Is there a protocol/API I can use to do this? Help!</p>